How to add content of one file into another file at the beginning
Answer Posted / green
(To insert file2 content to file1; then the command is)
vi file1
(in command mode)
:0 r! cat file2 (press enter)
( file2 content is inserted to file1 )
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does awk stand for?
How do I search a whole word in vim?
How to find $ai_serual resolved path by using unix
Enlist some filename manipulation commands in unix.
What is the pipe command?
What is the significance of the 'tee' command?
What is the nmap command?
What is the use of the tee command?
Which unix command lists files/folders in alphabetical order?
Is grep faster than awk?
What is grep r?
Why is awk called awk?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Who invented grep?
What is unix command line?