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

GAQM Exam LCP-001 Topic 1 Question 89 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 89
Topic #: 1
[All LCP-001 Questions]

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Enter the correct vi command without spaces.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Catalina
1 months ago
I'm not sure, but it makes sense that 17yy would copy 17 lines in vi.
upvoted 0 times
...
Jacqueline
2 months ago
I agree with Peggy, 17yy will copy 17 lines in vi.
upvoted 0 times
...
Skye
2 months ago
17yy? Sounds like a lot of work. I'd just use the mouse and click-and-drag instead.
upvoted 0 times
Mitsue
7 days ago
Keyboard shortcuts definitely make editing text more efficient in the long run.
upvoted 0 times
...
Nu
8 days ago
I agree, it may seem like a lot of work at first, but it's worth learning the shortcuts.
upvoted 0 times
...
Gladys
9 days ago
True, using keyboard shortcuts can be much faster once you get the hang of it.
upvoted 0 times
...
Yong
2 months ago
Real programmers use keyboard shortcuts, not the mouse.
upvoted 0 times
...
...
Peggy
2 months ago
I think the correct vi command is 17yy.
upvoted 0 times
...
Lynelle
2 months ago
17yy? That's some heavy-duty copying. I hope my cursor's not on the wrong line!
upvoted 0 times
...
Dorian
2 months ago
17yy? More like 'copy and paste the entire document' amirite?
upvoted 0 times
Staci
1 months ago
Yeah, 17yy is a quick way to copy a bunch of lines in vi.
upvoted 0 times
...
Twana
1 months ago
That's right! 17yy will copy the current line and the following 16 lines.
upvoted 0 times
...
Audra
2 months ago
A) 17yy
upvoted 0 times
...
...
Tammara
3 months ago
What vi command will copy from the current line and the following 16 lines?
upvoted 0 times
...

Save Cancel