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

Answer Posted / boss

cat file1 file2 > tmp && mv tmp file2

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which unix command lists files/folders in alphabetical order?

610


Why is shebang used?

591


Explain command to view process running?

609


What is the general format of unix command syntax?

685


What is the first character of the output in ls l command?

626






What is {} in find command?

575


Which command is used to copy files?

551


Who command in unix operating system?

656


What is grep short for?

547


What does find command return in unix?

584


Who wrote grep?

575


How can you see the command line history?

580


Who command in unix?

564


What does the md command do?

564


What is the difference between cat command and more command?

595