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
How to write the output of a command to a file?
What is nbtstat command?
Why we use pwd command in linux?
How do I check my disk space?
Explain any one service which are working on udp only?
What does the command env do?
What is tty in linux process?
How many commands are there in linux?
How do I permanently delete linux history?
If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?
How to recover /etc/passwd file and /etc/shadow file?
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.
What is umask 000?
What does cd do in linux?
What is the use of mv command in linux?