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 |
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How would you find the size of a file or directory?
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
distinguish between paging and swapping?
How can you create a symbolic link to a file or directory?
What is the functionality of a top command?
what is the difference between Touch & cat command
what is the meaning of this command rm -rf / what will it do ?
What is pipe command in unix?
29. How to display top 10 users Who | head -10 | wc –w
What UNIX command will control the default file permissions when files are created?