Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / preet mala

If we want to add content of file1 at the beginning of file2
then use the following command:-


cat file2 file1 >> file3 | mv file3 file2;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1093


Differentiate cat command from more command.

1078


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

1243


What do know about tee command and its usage?

1115


Describe the zip/unzip command using gzip.

1096


What is updatedb?

987


What is grep command in unix with examples?

1131


What is .sh file?

1106


What is nr in awk command?

1127


What is grep r?

1040


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

1231


Which command is used to restrict incoming messages?

1042


How do I use grep to search for a file?

1008


What is the difference between grep and grep?

1059


How can we use grep command in unix?

1137