tldr/pages/common/zcat.md

13 lines
306 B
Markdown
Raw Normal View History

2016-01-16 09:48:34 +00:00
# zcat
> Print data from `gzip` compressed files.
> More information: <https://www.gnu.org/software/gzip/manual/gzip.html>.
2016-01-16 09:48:34 +00:00
- Print the uncompressed contents of a `gzip` archive to `stdout`:
2016-01-16 09:48:34 +00:00
`zcat {{file.txt.gz}}`
2019-03-06 11:33:35 +00:00
- Print compression details of a `gzip` archive to `stdout`:
2019-03-06 11:33:35 +00:00
`zcat -l {{file.txt.gz}}`