Aims:
You will learn about compression utilities speed vs compression price.
Directions:
Time Required: 30 minutes
Use Ubuntu VM or Subsystem to create a brand new listing with the identify ec4 Navigate to the brand new listing Take a screenshot
Create a brand new textual content file and identify it mylargefile.txt and sort your first and final identify 100 instances within the created textual content file as follows:
Take a screenshot then save the massive textual content file and Exit.
Tar the massive textual content file “mylargefile.txt” utilizing the three utilities realized in lesson
11 by typing:
tar -czf gzarchive.tar.gz mylargefile.txt tar -cjf bz2archive.tar.bz2 mylargefile.txt tar -cJf xzarchive.tar.xz mylargefile.txt
Take a screenshot displaying all three instructions above.
Kind ls -la to get an in depth view of your recordsdata and Take a screenshot
What’s the measurement of every one of many three compressed archives (gzarchive.tar.gz, bz2archive.tar.bz2, xzarchive.tar.xz) in Kilobytes ? _______________________________________________________________
_______________________________________________________________
Run the next instructions to test the compression time utilizing the three compression utilities:
time bzip2 -1v bz2archive.tar.bz2
time gzip -1v gzarchive.tar.gz
page1image10817280 page1image10817472 page1image4541280 page1image10817664 page1image10817856page1image10818048
time xz -1v xzarchive.tar.xz Take a screenshot
page1image10818240
IS 552/452 Unix Working System Rules Spring 2022
eight. Rank all three utilities (gzip, bizp2, and xz) in accordance with their compression time from quicker to slower.
________________________________________________________________
______________________________________________________________
What to Submit
Submit all Screenshots and solutions to questions in a phrase doc and add your doc
Rubric
5 screenshots = 75 factors
2 questions = 25 factors (12.5 every)