How do I compress a zip file in Linux?
Answer
Compression Methods and Levels
In most Linux distributions, the zip utility also supports the bzip2 compression method. To specify a compression method,
use the -Z option
. The zip command allows you to specify a compression level using a number prefixed with a dash from 0 to 9. The default compression level is -6 .
Answer
Compression Methods and Levels
In most Linux distributions, the zip utility also supports the bzip2 compression method. To specify a compression method,
use the -Z option
. The zip command allows you to specify a compression level using a number prefixed with a dash from 0 to 9. The default compression level is -6 .