142k views
4 votes
What vi command do you use to insert the a file named "file2.txt" to the end of your current file?

1 Answer

5 votes
I'd say the 'cat' command.

With regards to text files, this command which is short for concatenate, has 3 related functions: Combining copies of text files, creating new one and displaying them. It is frequently used in Linux and Apple’s MAC OS and is used to concatenate and display files.



User DSM
by
8.6k points