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 is the search command in unix?

1134


What is used to type command?

1109


What is unix command?

1323


What is the comma to display different lines that are found when compare two files?

1247


What difference between cmp and diff commands?

1352


Why is awk called awk?

1136


What is the significance of the 'tee' command?

1255


Can you explain a little bit about command substitution?

1164


How do I use nslookup?

1148


Which unix command to make a new directory?

1194


What is difference between grep and find command in unix?

1278


What is awk good for?

1194


What does grep v do?

1100


Describe the zip/unzip command using gzip.

1227


what is the advaantage of each user having its own copy of the shell?

2615