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

Answer Posted / tejaswa

Hi Durgesh, by this command you can add the content at the end of file2 not in the beginning.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of sed command in unix?

826


What is awk used for?

824


Differentiate cmp command from diff command.

793


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

967


How do I use grep to search for a file?

781


What does touch command do in unix?

973


What is grep r?

783


What is the general format of unix command syntax?

1222


Write a command that will display files in the current directory, in a colored, long format.

915


What is grep short for?

737


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

810


Is grep faster than awk?

733


What is {} in find command?

775


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

842


What is the significance of the 'tee' command?

820