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 happens when we execute a unix command?

1137


What is the use of sed command in unix?

1199


Explain mount and unmount command.

1214


How does the system know where one command ends and another begins?

2249


Can you explain a little bit about command substitution?

1112


How does pipe () work?

1092


What is $0 bash?

1201


Using unix command how to display no of records in oracle?

1160


How do I use grep to search for a file?

1052


What is the nmap command?

1179


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1565


Explain how to use grep command to list find the records of a file containing 10 different strings?

1067


What does the “echo” command do?

1150


What is .sh file?

1180


Which command is used to kill the last background job?

1331