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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is help command in linux?

976


What would be the result of the command paste -s dog cat?

902


Explain command grouping in linux?

1025


What is the use of man command in linux?

1021


How do you create a text file in linux?

1080


What is bc command in unix?

979


How to write the output of a command to a file?

1017


What does execute mean in linux?

1026


What is finger command in linux?

987


What does chmod 777 do?

1046


What command should you use to check the number of files and disk space used and each user’s defined quotas?

1044


What is cpu in linux?

1003


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

1004


What is clang format?

952


How can I delete a file in linux?

1024