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

Answer Posted / ahmed

Use sed command
sed -i'' '1 i this is firts line' temp123

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix command?

690


Is grep faster than awk?

647


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

849


What is the difference between cat command and more command?

677


What is the use of egrep command in unix?

704






What is command statement?

656


What does grep v do?

643


Give the command for finding the current date.

659


What is grep and how do you use it?

661


What do chown command do?

626


What is awk command used for?

694


Explain the steps that a shell follows while processing a command.

767


What is time_t?

684


How do you repeat a command in terminal?

707


What is {} in find command?

662