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 does the “echo” command do?

828


Which command should you use to find the remaining disk space in unix server?

945


What is awk good for?

788


Enumerate some of the most commonly used network commands in unix?

821


What is command substitution?

871


What is in grep command?

840


What are the general commands in using unix os for a beginner?

800


What is the use of the tee command?

804


What do know about tee command?

806


Is grep faster than awk?

731


What is the nmap command?

796


What is used to type command?

740


What does pipe () return?

775


Explain command to view process running?

802


How do I find previous commands in unix?

802