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

Why is awk called awk?

1028


What does this command do? Cat food 1 > kitty

1537


What is the search command in unix?

1057


Who wrote grep?

1018


how to sort the content of the file based on numeric values

1736


Explain ‘library functions’ with respect to unix commands?

1128


Which unix command to make a new directory?

1074


Which command is used to restrict incoming messages?

1051


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

1268


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

1178


What's a command word?

1120


What will the following command do?

1078


What is the command to find maximum memory taking process on the server?

1163


What is the use of finger command?

1155


Explain command to display different lines that are found when compare two files?

1118