Compression Tools


Options to make security copies of files:

There are several commands to compress and decompress files. The most known are:

To save the original file or files when compressing, use the option -k.
To decompress, use the option -d.

Examples

gzip file           # Compress a file
bzip -k file        # Compress a file and save the original 
gunzip file.xz      # Decompress a file 
bzip -d file.bz     # Decompress a file