1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Random Linux+ Question #30

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

  1. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    179
    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 Administrator Administrator

    6,771
    102
    221
    errm 5???
     
    Certifications: MCSE, MCSA (messaging), ITIL Foundation v3
    WIP: Looking at doing ..................
  3. tripwire45
    Honorary Member

    tripwire45 Zettabyte Poster

    13,493
    179
    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...