CORRECT TEXT

Posted by: Pdfprep Category: EX200 Tags: , ,

CORRECT TEXT

Create a backup

Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.

Answer: see explanation below.

Explanation

cd /usr/local

tar Cjcvf /root/backup.tar.bz2

mkdir /test

tar Cjxvf /root/backup.tar.bz2 CC /test// Decompression to check the content is the same as the /usr/loca after

If the questions require to use gzip to compress. change Cj to Cz.

Leave a Reply

Your email address will not be published.