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 search command in unix?
What is used to type command?
What is unix command?
What is the comma to display different lines that are found when compare two files?
What difference between cmp and diff commands?
Why is awk called awk?
What is the significance of the 'tee' command?
Can you explain a little bit about command substitution?
How do I use nslookup?
Which unix command to make a new directory?
What is difference between grep and find command in unix?
What is awk good for?
What does grep v do?
Describe the zip/unzip command using gzip.
what is the advaantage of each user having its own copy of the shell?