what vi command will copy (but not paste) from the current line at the cursor andthe following 16 lines (17 lines total)?

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



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Simon

Simon

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.

Eric Hibshman

Eric Hibshman

it is 17yy