What command you use for cpio to create a backup called
backup.cpio of all the users’ home dirs?
Answer Posted / 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 |
Post New Answer View All Answers
What is the purpose output of cd command?
What is the command to calculate the size of a folder?
How do I check my system performance?
What does free command do in linux?
What is the command to delete a file linux?
What is mask and umask in linux?
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
What does history command do in linux?
Explain about sh?
Explain the working of command grouping?
How can we increase disk read performance in single command in Linux?
How do I find the console in linux?
Explain trap command of linux?
Explain difference between swap partition and swap file?
What is $@ in shell?