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


Please Help Members By Posting Answers For Below Questions

What is the significance of the 'tee' command?

594


Why is it called a shebang?

566


What is the use of awk command in unix?

571


how to sort the content of the file based on numeric values

1240


What is unix command?

575






why metadb requires a seperate slice to create Solaris volume manager

2546


How do I search a whole word in vim?

683


What is the function of grep command in unix?

580


What is the comma to display different lines that are found when compare two files?

589


What is the difference between grep and grep?

563


Name the various commands that are used for the user information in unix.

534


Is command prompt unix?

573


What does touch command do in unix?

719


Why is awk called awk?

573


How do I search for a file in unix command?

541