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 is the use of cut command in unix?
Is command prompt unix?
Are you in or at the office?
What does this command do? Cat food 1 > kitty
What are file commands?
What is grep in bash?
What command will change your prompt to myprompt?
How to use grep command to list find the records of a file containing 10 different strings?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the command to find hidden files in the current directory?
What is sed awk grep?
What is the use of tee command?
What is awk used for?
What is the unix command to confirm a remote host is alive or not?
Why is grep called grep?