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
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 |
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 |
What is the difference between diff and cmp command in unix?
find out what file systems supported by kernel?
What command would you use to check how much memory is being used by linux?
What are vim commands?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
What is the role of case sensitivity in affecting the way commands are used?
Diff b/w C-shell and Born-shell
The ‘logout’ built in command is used to
What are runlevels in linux?
What is the export command used for?
How can you check the amount of lines in a file?
How do you insert comments in the command line prompt?