Question: file using vi such as test.txt Enter some content, anything, in your test file and take note of the file size in bytes. 2. Use
file using vi such as test.txt
Enter some content, anything, in your test file and take note of the file size
in bytes.
2. Use each of the following (compress, gzip and bzip2) to evaluate compression ratios on
the file you created:
compress <file_name> creates a .z compressed file
uncompress <file_name> uncompresses .z file
gzip <file_name> creates .gz compressed file
gunzip <file_name> uncompresses .gz file
bzip2 <file_name> creates .bz2 compressed file
bunzip2 <file_name> uncompresses .bz2 file
3. Answer the following questions for your file:
What is the % compression using compress?
What is the % compression using gzip?
What is the % compression using bzip2?
Which one had the highest level of compression (resulted in the smallest file size)?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
