Immediately after deleting 3 lines of text in vi, which command will insert the deleted content below the current line?

Prepare for the LPI 101-500 Certification Exam. Utilize flashcards, navigate multiple choice questions, and benefit from hints and explanations. Begin your Linux certification journey today!

The command that inserts the deleted content below the current line in vi is the lowercase 'p'. When you delete lines in vi, they are stored in a buffer. The 'p' command, which stands for "put", allows you to paste this buffered content after the current line.

This command effectively re-inserts the deleted lines into the document at the specified location. If you were to use the uppercase 'P', it would paste the deleted content before the current line instead. The lowercase 'i' is used for inserting text, starting a new line for typing, while 'U' would undo the last change made, which is not relevant to pasting deleted content.

Thus, 'p' is the correct choice for pasting the deleted lines below the current position in the text.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy