1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/zcat.md

12 lines
319 B
Markdown

# zcat
> Print data from `gzip` compressed files.
> More information: <https://www.gnu.org/software/gzip/manual/gzip.html>.
- Print the uncompressed contents of a `gzip` archive to `stdout`:
`zcat {{file.txt.gz}}`
- Print compression details of a `gzip` archive to `stdout`:
`zcat {{[-l|--list]}} {{file.txt.gz}}`