gzip
Verified for current stable LTS
Gzip Commands
Gzip command syntax with verified terminal examples.
Commands
12 commands for Gzip
gzip Archive
Gzip Command: Compress File Keep Original
gzip -k <path/to/file> gzip Archive
Gzip Command: Compress File Output Filename
gzip -c <path/to/file> > <path/to/compressed_file.gz> gzip Archive
Gzip Command: Compress File Replace
gzip <path/to/file> gzip Archive
Gzip Command: Compress File With Output Filename
gzip -c <path/to/file> > <path/to/compressed_file.gz> gzip Archive
Gzip Command: Decompress Archive Output Filename
gzip -cd <path/to/file.gz> > <path/to/uncompressed_file> gzip Archive
Gzip Command: Decompress Archive With Output Filename
gzip -cd <path/to/file.gz> > <path/to/uncompressed_file> gzip Archive
Gzip Command: Decompress File Replace
gzip -d <path/to/file.gz> gzip Archive
Gzip Command: Display Compression Details
gzip -v <path/to/file.gz> gzip Archive
Gzip Command: Display Compression Info
gzip -v <path/to/file.gz> gzip Archive
Gzip Command: List Compressed File Contents
gzip -l <path/to/file.txt.gz> gzip Archive
Gzip Command: List Contents Compressed File
gzip -l <path/to/file.txt.gz> gzip Archive
Gzip Command: Specify Compression Level
gzip -<1..9> -c <path/to/file> > <path/to/compressed_file.gz> Suggest a Gzip Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Gzip workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.