QuestionQ83

VerifiedSystem Management

A Linux systems administrator must extract the contents of a file called /home/dev/web.bkp into the /var/www/html/ directory. Which command should the administrator use?

Explanation

cpio -i extracts an archive read from standard input, and -d creates destination directories as needed. Running it after changing into /var/www/html/ causes the archived content to be restored under that directory; -v only provides verbose output. GNU cpio manual

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!