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

Describe the zip/unzip command using gzip.

615


What is the command to view process running?

578


What is updatedb?

590


What is difference between grep and find command in unix?

582


What are reported commands?

568






How do I clear my terminal history?

588


What is the use of tee command?

573


Which command is used to restrict incoming messages?

594


Who command in unix?

578


How do I search for text in vi?

588


What does grep v grep do?

556


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

683


What does this command do? Cat food 1 > kitty

980


What is command substitution?

627


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

581