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 are the general commands in using unix os for a beginner?
Differentiate cat command from more command.
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What do know about tee command and its usage?
Describe the zip/unzip command using gzip.
What is updatedb?
What is grep command in unix with examples?
What is .sh file?
What is nr in awk command?
What is grep r?
Which command should you use to find the remaining disk space in unix server?
Which command is used to restrict incoming messages?
How do I use grep to search for a file?
What is the difference between grep and grep?
How can we use grep command in unix?