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 / abhishek bhardwaj

If one wants to add content of file1 on top of file2 then

cat file2 >> file1

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to find whether the system is 32 bit or 64 bit?

1149


What does the command '$ls | wc –l > file1' do?

1231


Which command is used to copy files?

1172


What command is used to switching between users in unix?

1080


Describe the usage and functionality of the command rm –r * in unix?

2098


What does grep v do?

1052


How do I delete files from command prompt?

1219


What is the function of grep command in unix?

1181


Can you explain a little bit about command substitution?

1112


Write a command to display a file’s contents in various formats?

1209


What is the behavioural difference between cmp and diff commands?

1280


How does pipe () work?

1092


What does the md command do?

1129


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

1212


How do I search for a file in unix command?

1019