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

You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

0 Answers  


Why is unix used?

0 Answers  


Explain shift command of linux?

0 Answers  


What does uname do in linux?

0 Answers  


what do know about commands?

0 Answers   Ericsson,


why is the tar command used?

0 Answers  


what is difference between $@ and $* in UNIX Shell script

3 Answers   Google,


My machine is running half duplex mode how to change half duplex to full duplex?

4 Answers   Oracle,


How do I clear bash history in linux?

0 Answers  


What is help command in linux?

0 Answers  


What is the difference between locating and locate command?

0 Answers  


What are some popular Linux distributions?

1 Answers  


Categories