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


Please Help Members By Posting Answers For Below Questions

What daemon is used for scheduling of the commands?

730


What language is clang written in?

685


How can we increase disk read performance in single command?

821


How do you do nslookup?

724


What is $@ in bash?

767


How can I type in cmd?

696


How can I create a file with cmd?

751


What is df command in linux?

749


What is sudo bash command?

737


How do I get to root directory in linux?

797


What the command used for search file or files for specific text?

724


What are the command prompt commands?

757


What does kill in linux?

738


Who is unix command?

761


How many types of dos commands are there?

833