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 grep short for?
Which command is used to copy files?
What is the use of finger command?
What are some command words?
Which command will print your home directory on screen?
How to find $ai_serual resolved path by using unix
What is “chmod” command?
What is grep and how do you use it?
How do I search for a file in unix command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How do I use nslookup?
Explain the steps that a shell follows while processing a command.
Differentiate cat command from more command.
What does the command '$ls | wc –l > file1' do?
Is command prompt unix?