What command you use for cpio to create a backup called
backup.cpio of all the users’ home dirs?
Answer Posted / 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 |
Post New Answer View All Answers
What command is used to check the number of files, disk space, and each user’s defined quota?
What is linux load average?
What is pwd in linux command?
What is in mkdir command?
Brief about FTP hostname?
Who whoami linux?
How do you do nslookup?
What is $$ in shell script?
You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?
Explain the linux directory commands along with the description?
How is grep so fast?
You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?
Explain grep command.
Why ms dos is used?
How do I run bash on windows?