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

How do I check my cpu speed?

0 Answers  


What does make clean command do?

0 Answers  


a remote shell is invoked by the command a)remote_shell b)remote_sh c)rsh d)remote conn

0 Answers   MNC,


How do I know my linux shell version?

0 Answers  


How to monitor ports in a linux machine, with single command?

7 Answers  






What are the examples of simple command?

0 Answers  


What is a ulimit in unix?

0 Answers  


Any one example of uninteruptable sleeping process?

2 Answers   Satyam,


How can I create a file with cmd?

0 Answers  


Who is unix command?

0 Answers  


How do you limit memory usage for commands?

0 Answers  


Why makefile is used in linux?

0 Answers  


Categories