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...

what is tar command and what are the different types of tar
commands?

Answer Posted / pitambar mishra

tar command is used for create archiving so that data transfer
will de easier.

1. Create a tar archive :
tar -cvf tarfilename.tar path_of_file
2. Extract a tar archive :
tar -xvf tarfilename.tar
3. See the contents of a tar archive :
tar -tvf tarfilename.tar
4. Add a new file to an existing tar archive :
tar -rf tarfilename.tar newfile
5. Remove a file from an existing tar archive :
tar --delete -file=tarfilename.tar file_to_remove
6. Tar and zip at same time :
tar -cvzf
7. Tar and unzip at same time :
tar -xvzf

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you in or at the office?

1071


What difference between cmp and diff commands?

1240


What are reported commands?

1070


How do I open a port?

1032


What does awk stand for?

1031


Which unix command lists files/folders in alphabetical order?

1654


What command is used to check the current users?

1058


Is command prompt unix?

1092


What is ctrl d?

1042


What is ‘ps’ command for?

1131


What are filter commands in unix?

1101


What is unix command line?

1173


What is the use of the tee command?

1049


Explain ‘system calls’ with respect to unix commands?

1038


Does cp command overwrite files?

1131