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.
Answer: 17yy
2 Comments on “what vi command will copy (but not paste) from the current line at the cursor andthe following 16 lines (17 li”
Simonsays:
I think this answer should be 17Y and not 17YY. 17YY does copy but really cuts 17 lines out ready for pasting whereas 17Y just copies the 17 lines without the cut.
I think this answer should be 17Y and not 17YY. 17YY does copy but really cuts 17 lines out ready for pasting whereas 17Y just copies the 17 lines without the cut.
0
0
it is 17yy
0
0