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 |
What is cat command in linux?
What is a ulimit in unix?
How to schedule cron backup to run on 4th saturday of month??
How do you ask politely?
How do you sort cpu in top command?
How do I know my shell?
How do I check if my cpu is overclocked?
why is the tar command used?
What is a make target?
how to add linux user to group?
What is nbtstat command?
What is the purpose of the 'chmod' command?