What command you use for cpio to create a backup called
backup.cpio of all the users’ home dirs?
Answers were Sorted based on User's Feedback
Answer / harsha
find /home | cpio -o > backup.cpio
The find command is used to create a list of the files and directories contained in home. This list is then piped to the cpio utility as a list of files to include and the output is saved to a file called backup.cpio.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / accenture
Restoring a back.cpio file/directory to its original
location. run the below command:
#cpio -idmv < backup.cpio file/directory)
Is This Answer Correct ? | 0 Yes | 0 No |
Is a command a full sentence?
difference between patches and packages? and how to upgrade patches
What does comm do and how to use it?
You issue the command head * what would the resulting output be?
Any one example of uninteruptable sleeping process?
What is tty in linux process?
How do you sort cpu in top command?
Which command reduces the size of a file?
What is trusted/untrusted operating system?
How do I find cpu in linux?
How do I open a text file in cmd?
What is $@ in bash?