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
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.
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
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.
it is 17yy