Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM LCP-001 Exam - Topic 4 Question 73 Discussion

Posted by Ilene on Aug 25, 2024 at 05:11 PM

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

Suggested Answer: C

Get Premium LCP-001 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
42 comments · newest first
GL
Glen 11 months ago
Not sure about 'yy', seems too simple.
GE
Geoffrey 11 months ago
Wait, 'yy'? I always used 'y'!
ST
Staci 11 months ago
I thought it was 'cc' for copy?
PA
Paola 12 months ago
Agreed, 'yy' is the way to go!
IR
Irma 12 months ago
It's definitely 'yy' for copying the current line.
LO
Louvenia 12 months ago
I think I saw a question similar to this where "yy" was the answer, so I’m leaning towards that.
VI
Viva 1 year ago
I feel like "yy" is definitely the right answer for copying, but I might be mixing it up with something else.
MA
Mary 1 year ago
I remember practicing with "cc" for changing lines, but I can't recall if it also copies.
JA
Jackie 1 year ago
I think the command to copy a line is something like "yy," but I'm not completely sure.
MA
Marci 1 year 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.
YO
Yong 1 year 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.
TE
Terrilyn 1 year 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.
ME
Melvin 1 year ago
I'm pretty sure the answer is D. yy is the command to copy the current line in vi.
LY
Lyla 1 year 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.
CO
Corinne 1 year 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.
KI
Kirk 1 year 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.
EV
Evan 1 year ago
I heard the vi dEvanloper's middle name is 'Confusion'. No wonder it's so hard to learn!
IR
Iraida 1 year ago
Ah, the age-old question of vi commands. At this point, I just randomly mash keys and hope for the best.
RA
Ranee 1 year ago
↳ replying to Iraida
Yeah, it can be tricky to remember all the commands
KA
Kati 1 year ago
↳ replying to Iraida
Oh, I always get those two confused
MA
Marla 1 year ago
↳ replying to Iraida
No, it's actually B) cc
ST
Stephaine 1 year ago
↳ replying to Iraida
I think it's D) yy
FR
Freeman 1 year ago
I swear, vi has more commands than the entire English vocabulary. How am I supposed to remember all of these?
MI
Miriam 1 year ago
↳ replying to Freeman
Just keep practicing and you'll get the hang of it.
PI
Pilar 1 year ago
↳ replying to Freeman
I know, there are so many commands to remember.
TR
Tricia 1 year ago
↳ replying to Freeman
It can be overwhelming, but practice makes perfect.
VA
Vanesa 1 year ago
I always get confused between 'c' and 'y' commands in vi. Maybe I should just stick to using the mouse.
DA
Daniel 1 year ago
↳ replying to Vanesa
Yeah, 'yy' is the command to copy the current line in vi.
MY
Myra 1 year ago
↳ replying to Vanesa
D) yy
CA
Carol 1 year ago
↳ replying to Vanesa
Don't worry, it's easy once you get the hang of it.
OC
Octavio 1 year ago
↳ replying to Vanesa
D) yy will copy the current line into the vi buffer.
MA
Martha 1 year ago
↳ replying to Vanesa
E) 1y
HU
Huey 1 year ago
↳ replying to Vanesa
D) yy
ME
Melissa 1 year ago
↳ replying to Vanesa
B) cc will copy the current line into the vi buffer.
AS
Ashton 1 year ago
↳ replying to Vanesa
C) 1c
TI
Tijuana 1 year ago
↳ replying to Vanesa
B) cc
YU
Yuonne 1 year ago
↳ replying to Vanesa
A) c will copy the current line into the vi buffer.
RA
Rana 1 year ago
↳ replying to Vanesa
A) c
HE
Herminia 1 year ago
D) yy is the correct answer. It copies the current line into the vi buffer.
MI
Micah 2 years ago
I'm not sure, but I think A) c might also work to copy the current line.
MA
Malika 2 years ago
I agree with Lourdes, D) yy makes sense because it copies the current line.
LO
Lourdes 2 years ago
I think the answer is D) yy.
0/2000 characters

Save Cancel