How to add content of one file into another file at the beginning
Answer Posted / preet mala
If we want to add content of file1 at the beginning of file2
then use the following command:-
cat file2 file1 >> file3 | mv file3 file2;
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between awk and grep?
What is the use of tee command?
Which command should you use to find the remaining disk space in unix server?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the unix command to confirm a remote host is alive or not?
What is in grep command?
What does sed command do in unix?
What is the use of awk command in unix?
why metadb requires a seperate slice to create Solaris volume manager
Who command in unix operating system?
What is time_t?
What do know about tee command and its usage?
What is the use of the tee command?
What is s and g in sed command?
What command will change your prompt to myprompt?