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 |
Who invented grep?
Briefly, how do you install Oracle software on UNIX.
In UNIX, what is the command to kill a process?
Explain the read, write, and execute permissions on a UNIX directory.
Can you enlist some commonly used network commands?
What does sed command do in unix?
what is the use of ls -l command & what is the information it gives about user ?
Explain mount and unmount command.
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
Which command is used to kill the last background job?
what is the command to list files in a directory in UNIX?
How does shebang work?