Name
compress [options
] [files
] — ncompress
Synopsis
/usr/bin
stdin stdout - file -- opt --help --version
compress
and uncompress
compress and uncompress files in standard Unix compression format (Lempel Ziv). Compressed files have the suffix .Z.
Sample commands | |
| Compress |
| Produce compressed data on standard output. |
| Produce compressed data from a pipeline. |
| Uncompress |
| Uncompress the data on standard output. |
| Uncompress the data from a pipeline. |
| Uncompress the data on standard output. |
Compressed tar files: sample commands | |
| Pack directory |
| List contents. |
| Unpack. |
Add the v
option to tar
to print filenames as they are processed.
Get Linux Pocket Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.