DispersedNet DispersedNet

Managing Disk Space   «Prev  Next»

Unix Archiving - Quiz

Each question is worth one point. Select the best answer or answers for each question.

1. How much storage space is represented by a block?
Please select the best answer.
  A. 8 bytes
  B. 512 bytes
  C. 1 kilobyte
  D. 8 kilobytes

2. Which of the following commands uses correct syntax for archiving the mydir directory into a tar file named myarchive.tar?
Please select the best answer.
  A. tar cvf myarchive.tar mydir
  B. tar fvc myarchive.tar mydir
  C. tar cvf mydir myarchive.tar
  D. tar –cvf mydir myarchive.tar

3. Which three of the following tasks can be accomplished using the tar command?
Please select all the correct answers.
  A. Listing the files within an archive
  B. Writing data to a tape
  C. Compressing files
  D. Extracting files from an archive