Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Suggested Answer: C
Get Premium LFCS Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
30 comments · newest first
LU
Luisa
7 months ago
I’m not sure, but I think D) U could be a trick option.
JO
Johnetta
7 months ago
I feel confident about C) p too. It’s the standard way.
VA
Valene
7 months ago
No way, it's definitely C) p. I use it all the time!
MA
Marquetta
7 months ago
I’m leaning towards B) P. It seems logical to paste above.
KA
Kattie
7 months ago
I agree, C) p feels right. It's what I usually use.
KA
Kasandra
8 months ago
'U' is for undo, not for pasting!
PA
Pamela
8 months ago
Wait, are you sure it's not 'P'? That seems odd.
DA
Darrin
8 months ago
Totally agree, 'p' is the way to go!
NO
Norah
8 months ago
I thought it was 'P' at first, but it's 'p'.
MA
Maybelle
9 months ago
It's definitely 'p' for lowercase!
DE
Devon
9 months ago
As a vi newbie, I'm just hoping I can remember any of these commands during the exam!
DA
Daniela
9 months ago
Wait, is it not U (uppercase) to undo the last action? I'm never sure about these vi commands.
OR
Oretha
9 months ago
Haha, I bet the exam writer is a vi power user who loves to trick us with these subtle differences.
CH
Cherrie
9 months ago
This question seems familiar; I think I encountered something like this in a practice quiz, and 'p' was the answer there too.
DE
Deeann
10 months ago
I might be mixing it up, but I thought 'U' was for undoing changes, not for pasting.
ST
Stanford
10 months ago
I remember practicing with vi commands, and I feel like 'P' pastes above, so it must be 'p' for below.
JA
Jaclyn
10 months ago
Hmm, I'm not totally sure about this one. I know there are a bunch of different vi commands, and I'm having trouble keeping them all straight. I'll have to make an educated guess on this.
JI
Jin
10 months ago
I've got this! The answer is definitely lowercase 'p'. That's the standard paste command in vi, right after deleting some text.
BE
Beata
10 months ago
Wait, I'm a little confused. Is it lowercase 'p' or uppercase 'P'? I need to double-check my vi commands.
MI
Mirta
10 months ago
I always forget the difference between uppercase and lowercase in vi. This is a tricky one!
NO
Norah
11 months ago
I think it's C) p. It pastes below the line.
BR
Brock
11 months ago
The correct answer is C) p (lowercase).
SU
Susana
11 months ago
I think it's the lowercase 'p' that pastes the deleted lines below the current line, but I'm not completely sure.
BR
Brice
11 months ago
Okay, I think I know this one. The key is remembering that lowercase 'p' is the command to paste the deleted text below the current line. I'm pretty confident in that.
MY
My
12 months ago
Hmm, this seems like a tricky one. I'll have to think carefully about the different vi commands and how they work with deleted text.
YO
Yolande
6 months ago
'i' is for insert mode, not for pasting.
OT
Otis
6 months ago
Same here! But I’m pretty sure it’s 'p'.
GL
Glory
6 months ago
Yeah, 'p' pastes the deleted text below.
MI
Mitzie
6 months ago
I think it's definitely 'p' for lowercase.
HO
Hoa
11 months ago
I always mix up 'P' and 'p'.