diff --git a/pages/common/gunzip.md b/pages/common/gunzip.md index 43a6b8f65d..80b2d0edf9 100644 --- a/pages/common/gunzip.md +++ b/pages/common/gunzip.md @@ -9,8 +9,12 @@ - Extract a file to a target destination: -`gunzip -c {{archive.tar.gz}} > {{archive.tar}}` +`gunzip --stdout {{archive.tar.gz}} > {{archive.tar}}` + +- Extract a file and keep the archive file: + +`gunzip --keep {{archive.tar.gz}}` - List the contents of a compressed file: -`gunzip -l {{file.txt.gz}}` +`gunzip --list {{file.txt.gz}}`