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 |
our wish to print the file vacations with 60 lines to a page. Which command will accomplish this?
What are grep commands?
What are the examples of simple command?
What is the command to calculate the size of a folder?
What is a ulimit in unix?
What is the use of mv command in linux?
what is lilo?How it is useful in linux?
Can I delete .bash history?
difference between Tcp and udp
What does kill in linux?
you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.
what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is the command to change ownership of a file?