How do I compress a gzip file in Linux?
Answer
Compressing Files with gzip
Answer
Compressing Files with gzip
- Keep the original file. If you want to keep the input (original) file, use the -k option: gzip -k filename. …
- Verbose output. …
- Compress multiple files. …
- Compress all files in a directory. …
- Change the compression level. …
- Using standard input. …
- Keep the compressed file. …
- Decompress multiple files.