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

What is the use of man command in linux?

0 Answers  


tell me command for" to create more than one name to a file".

3 Answers   Google,


What is 9 in kill?

0 Answers  


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

0 Answers   MNC,


What is finger command in linux?

0 Answers  






How many types of commands are there in linux?

0 Answers  


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?

0 Answers  


What do you mean by directory?

0 Answers  


What is ls command and what it does?

0 Answers  


What is df command in linux?

0 Answers  


Is cmake only for c++?

0 Answers  


What is the use of ls command?

0 Answers  


Categories