How to add content of one file into another file at the beginning

Answer Posted / pritam sahu

cat fil2 file1>>file3 then rename the file3 as file2 by mv
file3 file2.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command to display a file’s contents in various formats?

841


What is the command to compare two files in unix?

803


What is awk command used for?

775


What is rmdir command?

779


What is pipe command in unix?

882






What are bash commands?

781


What is the use of finger command?

810


What is the significance of the 'tee' command?

808


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

883


What is the pipe command?

800


What do know about tee command and its usage?

835


How do I clear my terminal history?

788


What is nr in awk command?

773


Name the unix command to find how many days the server has been up.

850


Explain command to view process running?

801