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 |
How does the user view the contents of a text file in UNIX?
What is ‘ps’ command for?
Why is it called a shebang?
By using which command we can find the CPU utilization time?
Name the general commands in using unix os for a beginner?
What will the following command do?
How do you find files in Unix?
What command will change your prompt to myprompt?
How do you grep a case insensitive?
what is the difference between relative path and absolute path?
What is difference between grep and find command in unix?
What is the output of : $ ps-e $ ps-a commands