what is tar command and what are the different types of tar
Answers were Sorted based on User's Feedback
Answer / madhu
tar is an utility used for archiving files .
tar cvf archive_name file1 file2...
for extracting a tar file
tar xvf archive_name
|Is This Answer Correct ?||11 Yes||2 No|
Answer / suitable
tar command is used to create an archiving.
the syntex is:
tar cvf archive_name file1 file2 ...
|Is This Answer Correct ?||8 Yes||2 No|
Answer / 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 :
7. Tar and unzip at same time :
|Is This Answer Correct ?||2 Yes||0 No|
Answer / yuvaevergreen
archive and lot of options
|Is This Answer Correct ?||0 Yes||0 No|
Write a command to display a file’s contents in various formats?
Give the command to display space usage on the UNIX file system.
in UNIX,How to copy file into directory?
How many unix commands are there?
What is awk good for?
How to rename files and folders?
What is the procedure of "at" and crontab" commands?
Give the command for finding the current date.
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
How to use grep command to list find the records of a file containing 10 different strings?
What is .sh file?
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?