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

\"File Compression\" Please respond to the following: 1-Research the Internet or

ID: 666128 • Letter: #

Question

"File Compression"  Please respond to the following:

1-Research the Internet or create your own files which meet the following criteria:

a) gzip compresses by more than 80 percent

b) gzip compresses by less than 10 percent

c) gets larger when compressed with gzip

2- Use ls –l to determine the sizes of the files in question. Then, determine whether or not you can characterize the files in a, b, and c. Document your personal findings and include your references if you used any.

Determine whether or not you would recommend using gzip over other compression utilities like the Microsoft Windows zip tool. Justify your response.

Explanation / Answer

1)

2) ls -l ab.txt.gz

    ls -l human.gif.gz

3)

The gzip tool is the most common method of compressing the data on a Linux machine and has been a part of Linux since 1982. It uses a compression algorithm know as "DEFLATE", that is also used by PNG and HTTP.

The gzip utility works at a very high speed as compered to all the other competing formats.  In addition, it is highly resource efficient and uses very less memory during compression and decompression.

However, sometimes it compresses data less thoroughly than other utilities.

Another advantage of gzip is that it allow you to optimize the compression by passing a numbered flag between 1 and 9.