Expand a `.gz` file back to its original contents.
Section: Archives Compression and Checksums
Decompress gzip file
bash
bash
gunzip large.log.gzExplanation
Equivalent to `gzip -d`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Archives Compression and Checksums