UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: commChapter 2
UNIX Commands
Next: Reference: cp
 

compress

compress [options] [files]

Reduce the size of one or more files using adaptive Lempel-Ziv coding, and move to file.Z. Restore with uncompress or zcat.

Options

-bn

Limit the number of bits in coding to n; n is 9-16, and 16 is the default. A lower n produces a larger, less densely compressed file.

-c

Write to the standard output (do not change files).

-f

Compress unconditionally; i.e., do not prompt before overwriting files.

-v

Print the resulting percentage of reduction for files.


Previous: Reference: commUNIX in a Nutshell: System V EditionNext: Reference: cp
Reference: commBook IndexReference: cp

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System