Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-16 00:22:14 +00:00
parent 27996b553a
commit 0881b6bcab
25 changed files with 121 additions and 71 deletions

View File

@@ -5,25 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# zcat
> Print data from `gzip` compressed files to `stdout`.
> More information: <https://www.gnu.org/software/gzip/manual/gzip.html>.
> This command is an alias of `gzip --stdout --decompress`.
- Print the uncompressed contents of a `gzip` archive to `stdout`:
- View documentation for the original command:
`zcat {{path/to/file.txt.gz}}`
- Print compression details of a `gzip` archive to `stdout`:
`zcat {{[-l|--list]}} {{path/to/file.txt.gz}}`
- Test the integrity of a compressed file verbosely:
`zcat {{[-v|--verbose]}} {{[-t|--test]}} {{path/to/file.txt.gz}}`
- Suppress all warnings when decompressing a file:
`zcat {{[-q|--quiet]}} {{path/to/file.txt.gz}}`
- Avoid any system crashes when decompressing a file (slower output):
`zcat --synchronous {{path/to/file.txt.gz}}`
`tldr gzip`