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

Describe the zip/unzip command using gzip.

1117


What does pipe () return?

1037


What is the use of egrep command in unix?

1144


Why is awk called awk?

1036


Why is grep called grep?

1244


Which command is used to copy files?

1138


What are the unix commands?

1051


What is the command to find hidden files in the current directory?

1156


What are some command words?

1102


What is used to type command?

1021


What is the comma to show the space allocation of files?

1033


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

1096


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

1170


Differentiate cmp command from diff command.

1122


What is grep r?

1049