diff --git a/pages/common/zcat.md b/pages/common/zcat.md index 7a6ae109f6..106ae3f319 100644 --- a/pages/common/zcat.md +++ b/pages/common/zcat.md @@ -1,12 +1,24 @@ # zcat -> Print data from `gzip` compressed files. +> Print data from `gzip` compressed files to `stdout`. > More information: . - Print the uncompressed contents of a `gzip` archive to `stdout`: -`zcat {{file.txt.gz}}` +`zcat {{path/to/file.txt.gz}}` - Print compression details of a `gzip` archive to `stdout`: -`zcat {{[-l|--list]}} {{file.txt.gz}}` +`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}}`