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
Explain grep command.
Which command is used to find what is in your home directory?
What is the difference between locating and locate command?
What is mkdir m in linux?
What is command example?
How can we increase disk read performance in single command in Linux operating system?
How do I stress test my cpu?
What is umask 000?
What is du -s * | sort -k1,1rn | head command used for?
Why bash is used in linux?
What is df -i command?
What is c++ makefile?
What is the pwd command?
What are the options of wc command?
What is linux pwd (print working directory) command?