SIMULATION - 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 correct:
See explanation below.
cd /usr/local tar ""jcvf /root/backup.tar.bz2 mkdir /test tar ""jxvf /root/backup.tar.bz2 ""C /test// Decompression to check the content is the same as the /usr/loca after If the questions require to use gzip to compress. change ""j to ""z.