gunzip

Extract file(s) from a gzip (.gz) archive. More information: <https://manned.org/gunzip>.

Install

All systems
curl cmd.cat/gunzip.sh
Debian Debian
apt-get install gzip
Ubuntu
apt-get install gzip
Alpine
apk add gzip
Arch Arch Linux
pacman -S gzip
image/svg+xml Kali Linux
apt-get install gzip
CentOS
yum install gzip
Fedora
dnf install gzip
Windows (WSL2)
sudo apt-get update sudo apt-get install gzip
OS X
brew install gzip
Raspbian
apt-get install gzip
Docker
docker run cmd.cat/gunzip gunzip powered by Commando

Extract file(s) from a gzip (.gz) archive. More information: <https://manned.org/gunzip>.

  • Extract a file from an archive, replacing the original file if it exists:
    gunzip archive.tar.gz
  • Extract a file to a target destination:
    gunzip --stdout archive.tar.gz > archive.tar
  • Extract a file and keep the archive file:
    gunzip --keep archive.tar.gz
  • List the contents of a compressed file:
    gunzip --list file.txt.gz
  • Decompress an archive from `stdin`:
    cat path/to/archive.gz | gunzip

© tl;dr; authors and contributors