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 |
Explain about sh?
What is a makefile in linux?
what is Bourne shell.
1 Answers Google, HCL, Infosys,
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
what are the features of Linux?
What command would you use to create an empty file without opening it to edit it?
What does free command do in linux?
How to root mirror in Linux? How to replace mirrored hdd in case of failure?
What could be the problem when a command that was issued gave a different result from the last time it was used?
what is the standard output in a file as well as disply it on the terminal options like A)pr B) tail C) tee D)nl
3 Answers Google, Thermotech Engineers,
How do I check my cpu cores?
What are commands in grammar?