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 / dick

concatenate file1 and file2, in the below command file1 content will be insert in front of that in file2, and then combined content will be redirected to file3

cat file1 file2 > file3

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the command 'ls -x chapter[1-5]' ?

1212


What is the difference between awk and grep?

1242


What is grep and how do you use it?

1106


What is the command to view process running?

1104


What does this command do,"$more readme.txt“?

1155


How to display no of records in oracle using unix command?

1168


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

1067


What are the commands in UNIX to list the files in a Directory?

1180


What is command substitution?

1357


Which command can you use to find the currently running process in unix server?

1122


What do chmod, chown, chgrp commands do?

1283


Is command prompt unix?

1150


Is ‘du’ a command? If so, what is its use?

1145


What is command statement?

1166


What does the command ' $who | sort –logfile > newfile' do?

1270