From 1bf6f4904dfd2ca2cb859e7db217e9a120b318de Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 12 Dec 2022 22:52:18 +0100 Subject: [PATCH] gunzip: add `stdin` example (#9613) --- pages/common/gunzip.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/gunzip.md b/pages/common/gunzip.md index 80b2d0edf9..e033682814 100644 --- a/pages/common/gunzip.md +++ b/pages/common/gunzip.md @@ -18,3 +18,7 @@ - List the contents of a compressed file: `gunzip --list {{file.txt.gz}}` + +- Decompress an archive from `stdin`: + +`cat {{path/to/archive.gz}} | gunzip`