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

Which command will print your home directory on screen?

1078


Why is awk called awk?

1071


What is the use of sed command in unix?

1199


Explain mount and unmount command.

1214


What is command statement?

1168


What are the dos commands?

1257


Why is it called a shebang?

1179


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

1231


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

2098


Explain ‘system calls’ with respect to unix commands?

1093


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

1312


What is unix command?

1259


What is unix command line?

1252


What does grep v do?

1052


What is s and g in sed command?

1114