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

How many cmd commands are there?

0 Answers  


What are grep commands?

0 Answers  


What is option in linux command?

0 Answers  


How to root mirror in Linux? How to replace mirrored hdd in case of failure?

1 Answers   Siemens,


how to run the boot loader in the linux.......

5 Answers  


How do you check the current system uptime in Linux?

1 Answers  


How much ram do I have linux?

0 Answers  


How does diff command work?

0 Answers  


What does wc command do in unix?

0 Answers  


what is the command to uninstall processes in linux?

17 Answers   Aegon, HCL, IBM, Ugam Solutions,


How do I run a .sh file in linux?

0 Answers  


How do you save a file in linux?

0 Answers  


Categories