Random Linux+ Question #30

Discussion in 'Linux+' started by tripwire45, Jul 14, 2005.

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    You are on the command line on your linux computer and you want to compress a file named storage. You need to achieve the highest degree of compression you can get and you are not concerned about how long it will take. You are using the gzip utility. Which of the commands below will compress the file storage as small as possible? Choose only one answer.

    1. gzip -c storage
    2. gzip -f storage
    3. gzip -1 storage
    4. gzip -l storage
    5. gzip -9 storage
    6. gzip -z storage

    Answer later.
     
    Certifications: A+ and Network+
  2. AJ

    AJ 01000001 01100100 01101101 01101001 01101110 Administrator

    6,897
    182
    221
    errm 5???
     
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Breathing in and out, but not out and in, that's just wrong
  3. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    180
    287
    Answer time. You are correct, AJ. The answer is 5. The compression speed can be controlled by adding a switch from 1 to 9 after the command. -1 will compress very quickly but will result in larger files while -9 at the other end of the scale will take longer but produce the best compression. The other answers were bogus.
     
    Certifications: A+ and Network+

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.