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

How many unix commands are there?

1206


What does this command do? Cat food 1 > kitty

1637


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1450


Differentiate cat command from more command.

1205


Is it inbetween or in between?

1108


Write a command to kill the last background job?

1152


How do I use grep to search for a file?

1101


What are the dos commands?

1314


What is sed awk grep?

1185


What's a command word?

1246


What is the pipe command?

1242


Explain command to view process running?

1178


What is the significance of the 'tee' command?

1253


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

1324


hw will u use awk in replacing cahrs and files

3294