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 is help command in linux?
What would be the result of the command paste -s dog cat?
Explain command grouping in linux?
What is the use of man command in linux?
How do you create a text file in linux?
What is bc command in unix?
How to write the output of a command to a file?
What does execute mean in linux?
What is finger command in linux?
What does chmod 777 do?
What command should you use to check the number of files and disk space used and each user’s defined quotas?
What is cpu in linux?
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?
What is clang format?
How can I delete a file in linux?