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 4 Question 73 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 73
Topic #: 4
[All LCP-001 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: C

Contribute your Thoughts:

0/2000 characters
Glen
3 months ago
Not sure about 'yy', seems too simple.
upvoted 0 times
...
Geoffrey
3 months ago
Wait, 'yy'? I always used 'y'!
upvoted 0 times
...
Staci
3 months ago
I thought it was 'cc' for copy?
upvoted 0 times
...
Paola
4 months ago
Agreed, 'yy' is the way to go!
upvoted 0 times
...
Irma
4 months ago
It's definitely 'yy' for copying the current line.
upvoted 0 times
...
Louvenia
4 months ago
I think I saw a question similar to this where "yy" was the answer, so I’m leaning towards that.
upvoted 0 times
...
Viva
4 months ago
I feel like "yy" is definitely the right answer for copying, but I might be mixing it up with something else.
upvoted 0 times
...
Mary
4 months ago
I remember practicing with "cc" for changing lines, but I can't recall if it also copies.
upvoted 0 times
...
Jackie
5 months ago
I think the command to copy a line is something like "yy," but I'm not completely sure.
upvoted 0 times
...
Marci
5 months ago
I'm confident the answer is D. yy is the standard way to copy the current line in vi. I use that command all the time.
upvoted 0 times
...
Yong
5 months ago
Okay, let me walk through this step-by-step. The question is asking about copying the current line, so I'm thinking it's either cc or yy. I'll go with yy since that sounds more familiar.
upvoted 0 times
...
Terrilyn
5 months ago
Hmm, I'm a bit unsure about this one. I know there are a lot of different commands in vi, so I'll have to think it through carefully.
upvoted 0 times
...
Melvin
5 months ago
I'm pretty sure the answer is D. yy is the command to copy the current line in vi.
upvoted 0 times
...
Lyla
5 months ago
I'm a bit confused by all the options here. I know vi has a lot of different commands, so I'll have to guess on this one. I'll go with D, but I'm not totally sure.
upvoted 0 times
...
Corinne
5 months ago
This is a good question to test our knowledge of hotel industry terminology. I'll review the options and try to identify the ones that are commonly used to describe hotel classes.
upvoted 0 times
...
Kirk
5 months ago
Okay, let me see. Long-term capital lease agreements and bonds agreements are definitely long-term credit products, so those can't be the answer. A line of credit is also a type of credit product, so that leaves "None of these" as the only possible correct answer.
upvoted 0 times
...
Evan
9 months ago
I heard the vi dEvanloper's middle name is 'Confusion'. No wonder it's so hard to learn!
upvoted 0 times
...
Iraida
9 months ago
Ah, the age-old question of vi commands. At this point, I just randomly mash keys and hope for the best.
upvoted 0 times
Ranee
8 months ago
Yeah, it can be tricky to remember all the commands
upvoted 0 times
...
Kati
8 months ago
Oh, I always get those two confused
upvoted 0 times
...
Marla
8 months ago
No, it's actually B) cc
upvoted 0 times
...
Stephaine
9 months ago
I think it's D) yy
upvoted 0 times
...
...
Freeman
9 months ago
I swear, vi has more commands than the entire English vocabulary. How am I supposed to remember all of these?
upvoted 0 times
Miriam
8 months ago
Just keep practicing and you'll get the hang of it.
upvoted 0 times
...
Pilar
8 months ago
I know, there are so many commands to remember.
upvoted 0 times
...
Tricia
9 months ago
It can be overwhelming, but practice makes perfect.
upvoted 0 times
...
...
Vanesa
10 months ago
I always get confused between 'c' and 'y' commands in vi. Maybe I should just stick to using the mouse.
upvoted 0 times
Daniel
8 months ago
Yeah, 'yy' is the command to copy the current line in vi.
upvoted 0 times
...
Myra
8 months ago
D) yy
upvoted 0 times
...
Carol
8 months ago
Don't worry, it's easy once you get the hang of it.
upvoted 0 times
...
Octavio
9 months ago
D) yy will copy the current line into the vi buffer.
upvoted 0 times
...
Martha
9 months ago
E) 1y
upvoted 0 times
...
Huey
9 months ago
D) yy
upvoted 0 times
...
Melissa
9 months ago
B) cc will copy the current line into the vi buffer.
upvoted 0 times
...
Ashton
9 months ago
C) 1c
upvoted 0 times
...
Tijuana
9 months ago
B) cc
upvoted 0 times
...
Yuonne
9 months ago
A) c will copy the current line into the vi buffer.
upvoted 0 times
...
Rana
9 months ago
A) c
upvoted 0 times
...
...
Herminia
10 months ago
D) yy is the correct answer. It copies the current line into the vi buffer.
upvoted 0 times
...
Micah
11 months ago
I'm not sure, but I think A) c might also work to copy the current line.
upvoted 0 times
...
Malika
11 months ago
I agree with Lourdes, D) yy makes sense because it copies the current line.
upvoted 0 times
...
Lourdes
11 months ago
I think the answer is D) yy.
upvoted 0 times
...

Save Cancel