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 many cmd commands are there?
What are grep commands?
What is option in linux command?
How to root mirror in Linux? How to replace mirrored hdd in case of failure?
how to run the boot loader in the linux.......
How do you check the current system uptime in Linux?
How much ram do I have linux?
How does diff command work?
What does wc command do in unix?
what is the command to uninstall processes in linux?
17 Answers Aegon, HCL, IBM, Ugam Solutions,
How do I run a .sh file in linux?
How do you save a file in linux?