Commands
compress
[ -f ] [ -v ] [ -c ] [ -V ] [ -r ] [ -b bits] [name …]
uncompress
[ -f ] [ -v ] [ -c ] [ -V ] [ name …]
Compress makes files smaller via adaptive Lempel-Ziv encoding, uncompress (and zcat) reverse the effects of compress. Usually the resultant files are replaced with a similarly named file with a .Z extension. Access permissions, ownership, and modification times are retained.
Example: To compress the file bigfile.txt, use
compress bigfile.txt
-c | Send results to standard output without changing the files |
-r | Recursive operation. Compress the contents of any directories found |
-V | Display version information |
-b | bits encoding |
-v | Verbose operation |
cpio
{-o|--create} [-0acvABLV] [-C bytes] [-H format] [-M message] [-O [[user@]host: ...
Get Linux® Desk Reference, Second Edition 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.