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
Which command is used to kill the last background job?
What is the use of awk command in unix?
What is grep short for?
What is unix command line?
Explain the steps that a shell follows while processing a command.
How do I search for text in vi?
Is ‘du’ a command? If so, what is its use?
What are some command words?
What is command statement?
How to find $ai_serual resolved path by using unix
Write a command to display a file’s contents in various formats?
What is the use of the command 'ls -x chapter[1-5]' ?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What do know about tee command and its usage?
Is it inbetween or in between?