Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem 5 (6 points): Use the man pages for compress, gzip, and bzip2 commands a

ID: 3588842 • Letter: P

Question

Problem 5 (6 points): Use the man pages for compress, gzip, and bzip2 commands along with searching the internet to fill in the blanks in the following statements. For 5d select the correct answer from the values provided. a) The compress command uses the adaptive Ziv-_ coding algorithm to reduce the size of files. The gzip command is a compression utility designed to be algorithm, which is a combination of LZ77 and b) Gzip is based on the C) . The bzip2 command is the d) slowest/fastest of the three commands and uses the e) algorithm. Bzip2 only operates on f) so it cannot compress a directory nor function as a file archiver

Explanation / Answer

a. The compress command uses the adaptive Ziv-Lempel coding algorithm to reduce the size of files.
The gzip command is a compression utility designed to be a replacement for compress.
b. gzip is based on the Deflate algorithm, which is a combination of LZ77 and
c. Huffman coding. The bzip2 command is the
d. slower of the three commands and uses the
e. Burrows-Wheeler algorithm. Bzip2 only operates on
f. single files, so it cannot compress a directory not function as a file archiver.