New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM LCP-001 Exam - 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:

0/2000 characters
Avery
2 months ago
I thought it was just 16yy?
upvoted 0 times
...
Rodrigo
2 months ago
Wait, are you sure it copies 17 lines?
upvoted 0 times
...
Emeline
2 months ago
Yup, that's the command!
upvoted 0 times
...
Silvana
3 months ago
It's 17yy for sure!
upvoted 0 times
...
Vonda
3 months ago
Totally agree, 17yy is correct!
upvoted 0 times
...
Ngoc
3 months ago
I practiced this last week, and "17yy" sounds familiar, but I can't recall if there's a different way to do it.
upvoted 0 times
...
Dyan
3 months ago
I feel like I might confuse this with the paste command. Is it really just "17yy"?
upvoted 0 times
...
Lonny
4 months ago
I remember practicing with similar commands, and I think "17yy" is the right one for copying multiple lines.
upvoted 0 times
...
France
4 months ago
I think the command might be something like "17yy," but I'm not completely sure if I remember the syntax correctly.
upvoted 0 times
...
Pamella
4 months ago
Ugh, vi commands are not my strong suit. Let me think this through step-by-step...17yy, right? I hope that's correct.
upvoted 0 times
...
Nelida
4 months ago
17yy, got it! This is a classic vi question, I feel confident I can nail this one.
upvoted 0 times
...
Phuong
4 months ago
Wait, is it 17y or 17yy? I'm a little fuzzy on the exact vi command for this.
upvoted 0 times
...
Shawna
5 months ago
Okay, I'm pretty sure it's 17yy to copy the current line and the 16 lines below it. Gotta love those vi shortcuts!
upvoted 0 times
...
Denise
5 months ago
Hmm, I think the 17yy command should do the trick. Let me double-check that in the vi cheat sheet.
upvoted 0 times
...
Catalina
9 months ago
I'm not sure, but it makes sense that 17yy would copy 17 lines in vi.
upvoted 0 times
...
Jacqueline
9 months ago
I agree with Peggy, 17yy will copy 17 lines in vi.
upvoted 0 times
...
Skye
9 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 months ago
Keyboard shortcuts definitely make editing text more efficient in the long run.
upvoted 0 times
...
Nu
8 months ago
I agree, it may seem like a lot of work at first, but it's worth learning the shortcuts.
upvoted 0 times
...
Gladys
8 months ago
True, using keyboard shortcuts can be much faster once you get the hang of it.
upvoted 0 times
...
Yong
9 months ago
Real programmers use keyboard shortcuts, not the mouse.
upvoted 0 times
...
...
Peggy
10 months ago
I think the correct vi command is 17yy.
upvoted 0 times
...
Lynelle
10 months ago
17yy? That's some heavy-duty copying. I hope my cursor's not on the wrong line!
upvoted 0 times
...
Dorian
10 months ago
17yy? More like 'copy and paste the entire document' amirite?
upvoted 0 times
Staci
8 months ago
Yeah, 17yy is a quick way to copy a bunch of lines in vi.
upvoted 0 times
...
Twana
8 months ago
That's right! 17yy will copy the current line and the following 16 lines.
upvoted 0 times
...
Audra
9 months ago
A) 17yy
upvoted 0 times
...
...
Tammara
10 months ago
What vi command will copy from the current line and the following 16 lines?
upvoted 0 times
...

Save Cancel