O'Reilly logo

SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The gzip Command

Using the compress command will get you the results you need, but again, the utility is older and does not work as well as newer ones. Also, the Unix version of compress can be slightly altered as you go from distribution to distribution. Any variance is not good as you may not be able to compress with one utility and decompress with another. To make this point clearer, consider why you would use compress: because it is the only thing you either know or have. It is located on your local Unix system and is there for use.

What if you wanted to use something that was a little less likely to be proprietary? The gzip command (stands for GNU zip) is the original file compression program for GNU/Linux and has been adopted for use with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required