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
Why is awk called awk?
What does this command do? Cat food 1 > kitty
What is the search command in unix?
Who wrote grep?
how to sort the content of the file based on numeric values
Explain ‘library functions’ with respect to unix commands?
Which unix command to make a new directory?
Which command is used to restrict incoming messages?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Explain the steps that a shell follows while processing a command.
What's a command word?
What will the following command do?
What is the command to find maximum memory taking process on the server?
What is the use of finger command?
Explain command to display different lines that are found when compare two files?