what is tar command and what are the different types of tar
commands?
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
Regards,
Madhu
| 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 :
tar -cvzf
7. Tar and unzip at same time :
tar -xvzf
| Is This Answer Correct ? | 2 Yes | 0 No |
what is the use of wild cards?
how will you convert a general file to a hidden file?
What is the command to find maximum memory taking process on the server?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the different between UNIX command and UNIX shell script?
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
What is grep r?
What is the protocol for PING command?
Is grep faster than awk?
What do chgrp command do?
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
What is pipe command in unix?