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 can I type in cmd?
why is the tar command used?
how many hard disks can i able to connect to desktop pc and server (IDE & SATA) pls send this ans to my mail : ping2pavan@gmail.com
Brief about the command ff?
What is the purpose of the 'ps' command?
How to hide the partition in GRUB booting? (This technique is required when you have more that one Windows system on different partitions of the same disk, let us say the first and second partitions of the first hard drive, to boot from the first partition you must hide the second one)
Explain about document formatting?
What does the following command line produce? Explain each aspect of this line. $ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l ) >> Activity.log
What is #!/ Bin sh?
How do I find command history in linux?
You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?
What is cat command in linux?