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

my clients are getting services from servers but how to know which client is using which service. is there any files to keep information about these? clients used ftp, nis, samba, apache, squid, nfs and mail services how to know how many users got service from server side with date,time and client system ip ?

3 Answers   Wipro,


what is QUOTA-V

4 Answers   Google,


What is the copy command in linux?

0 Answers  


How do I run whois command?

0 Answers  


How can you copy lines into the buffer in command mode?

0 Answers  


What language is clang written in?

0 Answers  


in redhat Linux wat is the command to check at ahich date and time file was created?

16 Answers  


How often do you use grep command and how in Linux operating system?

0 Answers   Arigo Infotech,


Display the Disk Usage of file sizes under each directory in currentDirectory ?

8 Answers  


How to reset root password via command Redhat 5.2

13 Answers  


How do I run a bash script in linux?

0 Answers  


what r the different command to check ram,process and hdd of linux machine

4 Answers  


Categories