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 makefile target?

1 Answers  


What is the difference between kill and kill -9 commands?

4 Answers   Sabre,


In order to display the last five commands you have entered using the fc command, you would type?

1 Answers  


Write about an internal command.

1 Answers  


What is mkdir p linux?

1 Answers  


What is command line in unix?

1 Answers  


What is clang space engineers?

1 Answers  


What is apple llvm?

1 Answers  


How do you execute more than one command or program from a single command line entry?

1 Answers  


How do I check my system performance?

1 Answers  


1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?

10 Answers   IBM, TCS,


What is sudo bash command?

1 Answers  


Categories