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 df command in linux?
What does p mean linux?
in unix how to change old name to new name
What does ls mean in linux?
what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?
What is s in permission linux?
What is makefile in unix?
What does grep grep do?
What is the Difference between 'su' and 'su-' ?
hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter how to get back that file. plz send me ans. regards. madhu.m
Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?