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 difference between awk and grep?

1259


What is the use of tee command?

1169


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

1316


Which command is used to delete all files in the current directory and all its sub-directories?

1267


What is the unix command to confirm a remote host is alive or not?

1221


What is in grep command?

1176


What does sed command do in unix?

1202


What is the use of awk command in unix?

1136


why metadb requires a seperate slice to create Solaris volume manager

3172


Who command in unix operating system?

1142


What is time_t?

1118


What do know about tee command and its usage?

1186


What is the use of the tee command?

1100


What is s and g in sed command?

1120


What command will change your prompt to myprompt?

1334