Vi Editor Question:

Download Job Interview Questions and Answers PDF

How to append a file to current file using Vi Editor?

Vi Editor Interview Question
Vi Editor Interview Question

Answer:

Alternate approach:

If you are working in file2 and want to append file1, than
place the cursor where you want to append the new file and
use the following command

:r file1

Download Vi Editor Interview Questions And Answers PDF

Previous QuestionNext Question
Explain What is the format of vi command?What does the c$ command do from command mode using Vi Editor?