How to add content of one file into another file at the beginning
Answer Posted / dick
concatenate file1 and file2, in the below command file1 content will be insert in front of that in file2, and then combined content will be redirected to file3
cat file1 file2 > file3
| Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What is the use of the command 'ls -x chapter[1-5]' ?
What is the difference between awk and grep?
What is grep and how do you use it?
What is the command to view process running?
What does this command do,"$more readme.txt“?
How to display no of records in oracle using unix command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What are the commands in UNIX to list the files in a Directory?
What is command substitution?
Which command can you use to find the currently running process in unix server?
What do chmod, chown, chgrp commands do?
Is command prompt unix?
Is ‘du’ a command? If so, what is its use?
What is command statement?
What does the command ' $who | sort –logfile > newfile' do?