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 |
How do you create a file?
what are the linux boot files?
Why do we use cmake?
Explain the working of command grouping?
How find ip address linux?
What does grep command do?
What is ulimit command?
What does ls mean in linux?
What does chmod 666 do?
Brief about finger username?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
Which command is used to check the number of files and disk space used and the each user’s defined quota?