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 df command in linux?

0 Answers  


What does p mean linux?

0 Answers  


in unix how to change old name to new name

7 Answers   Google,


What does ls mean in linux?

0 Answers  


what is soft mount and hard mount? i have to make permanent nfs mount permanent what shall i do?

4 Answers   IBM,


What is s in permission linux?

0 Answers  


What is makefile in unix?

0 Answers  


What does grep grep do?

0 Answers  


What is the Difference between 'su' and 'su-' ?

5 Answers   Fujitsu, Locuz,


hi friends how to reinstall the grub.conf file. once i delete the grub file in perminatle ofter how to get back that file. plz send me ans. regards. madhu.m

5 Answers  


Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.

7 Answers   HP, IBM,


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

0 Answers  


Categories