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



What command you use for cpio to create a backup called backup.cpio of all the users’ home dirs?..

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

What command you use for cpio to create a backup called backup.cpio of all the users’ home dirs?..

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

Post New Answer

More Linux Commands Interview Questions

Is a command a full sentence?

0 Answers  


difference between patches and packages? and how to upgrade patches

2 Answers   HP, Yahoo,


What does comm do and how to use it?

0 Answers  


You issue the command head * what would the resulting output be?

0 Answers  


Any one example of uninteruptable sleeping process?

2 Answers   Satyam,






What is tty in linux process?

0 Answers  


How do you sort cpu in top command?

0 Answers  


Which command reduces the size of a file?

0 Answers  


What is trusted/untrusted operating system?

8 Answers  


How do I find cpu in linux?

0 Answers  


How do I open a text file in cmd?

0 Answers  


What is $@ in bash?

0 Answers  


Categories