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 |
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
Why is unix used?
Explain shift command of linux?
What does uname do in linux?
what do know about commands?
why is the tar command used?
what is difference between $@ and $* in UNIX Shell script
My machine is running half duplex mode how to change half duplex to full duplex?
How do I clear bash history in linux?
What is help command in linux?
What is the difference between locating and locate command?
What are some popular Linux distributions?