File compression and Archive command summary
compressed format: gz, bz2, xz, Z, zip Compression algorithm: the algorithm is different, the compression ratio will be different;
1.gzip
gzip: .gz
gzip /PATH/TO/SOMEFILE: gzip will delete the original file after the completion of the compression
gzip -d: decompression
-#: 1-9, specify the compression ratio, the default ...