Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 3 Question 96 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 96
Topic #: 3
[All 101-500 Questions]

In the vi editor, which of the following commands will copy the current line into the vi buffer?

Show Suggested Answer Hide Answer
Suggested Answer: A, E

Contribute your Thoughts:

Salome
22 days ago
Wait, there's a vi editor? I thought we were all using Emacs these days. What is this, the 90s?
upvoted 0 times
...
Rosalyn
23 days ago
Hmm, I'm gonna go with B) cc. It just sounds like it should copy the line, you know?
upvoted 0 times
...
Richelle
24 days ago
D) yy, of course! Vi might be old-school, but it's still the best for hardcore terminal junkies like me.
upvoted 0 times
Yen
1 days ago
User 2: Yeah, I agree. yy copies the current line in vi.
upvoted 0 times
...
Ivan
8 days ago
User 1: I think the answer is D) yy
upvoted 0 times
...
...
Emerson
1 months ago
I always mix up the copy and paste commands in vi. Is there an app that can just do it for me?
upvoted 0 times
Kattie
10 days ago
C) 1c
upvoted 0 times
...
Vicente
11 days ago
B) cc
upvoted 0 times
...
Glen
17 days ago
A) c
upvoted 0 times
...
...
Geraldo
2 months ago
I'm not sure, but I think the answer might be B) cc instead of D) yy.
upvoted 0 times
...
Alysa
2 months ago
I agree with Ronald, D) yy makes sense because yy is used to yank (copy) lines in vi.
upvoted 0 times
...
Ronald
2 months ago
I think the answer is D) yy.
upvoted 0 times
...
Lanie
2 months ago
D) yy is the correct answer. It's a classic vi command that copies the current line into the buffer.
upvoted 0 times
Dylan
29 days ago
Thanks for clarifying, I'll remember that for next time
upvoted 0 times
...
Vi
1 months ago
Actually, it's D) yy. That's the correct command to copy the current line
upvoted 0 times
...
Deangelo
1 months ago
No, I believe it's A) c
upvoted 0 times
...
Felicidad
1 months ago
I think the answer is D) yy
upvoted 0 times
...
...

Save Cancel