Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 a make target?

0 Answers  


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

0 Answers  


what is the standard output in a file as well as disply it on the terminal options like A)pr B) tail C) tee D)nl

3 Answers   Google, Thermotech Engineers,


how to create a new file command

17 Answers   Google,


Why ls -F dev/log file output indicate as = sign at end of the file name?

5 Answers   HCL, IBM,


What make install does?

0 Answers  


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

0 Answers  


what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is the command to change ownership of a file?

9 Answers   HCL, IPsoft,


Which command puts a script to sleep untill a signal is recieved?

0 Answers  


What is the programming language for linux?

0 Answers  


what is the booting process of linux systen and explain it,is the first process comes under the installation process.

3 Answers   CSC, EA Electronic Arts, Mind Tree, vsworx,


What does && mean in bash?

0 Answers  


Categories