zcat

Print data from gzip compressed files. More information: <https://www.gnu.org/software/gzip/manual/gzip.html>.

Install

All systems
curl cmd.cat/zcat.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/zcat zcat powered by Commando

Print data from gzip compressed files. More information: <https://www.gnu.org/software/gzip/manual/gzip.html>.

  • Print the uncompressed contents of a gzipped file to `stdout`:
    zcat file.txt.gz
  • Print compression details of a gzipped file to `stdout`:
    zcat -l file.txt.gz

© tl;dr; authors and contributors