What u know abt tar Command?

Answer Posted / jaswant

tar command is use to crate archive file backup the file

tar -cvf /root/Desktop/etc.tar /etc

to take backup the /etc directory using following command

tar -xvf /root/Desktop/etc.tar

to extract the archive file using this command

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write the output of a command to a file?

565


What is nbtstat command?

578


Why we use pwd command in linux?

540


How do I check my disk space?

464


Explain any one service which are working on udp only?

510






What does the command env do?

528


What is tty in linux process?

504


How many commands are there in linux?

554


How do I permanently delete linux history?

521


If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?

538


How to recover /etc/passwd file and /etc/shadow file?

540


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

811


What is umask 000?

541


What does cd do in linux?

648


What is the use of mv command in linux?

530