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 happens when we execute a unix command?
What is the use of sed command in unix?
Explain mount and unmount command.
How does the system know where one command ends and another begins?
Can you explain a little bit about command substitution?
How does pipe () work?
What is $0 bash?
Using unix command how to display no of records in oracle?
How do I use grep to search for a file?
What is the nmap command?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What does the “echo” command do?
What is .sh file?
Which command is used to kill the last background job?