From 7f168f6144fb0f25fb2c82cf255aa3b301398040 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Tue, 21 Jun 2016 04:30:19 +0530 Subject: [PATCH] gunzip: add page (#909) --- pages/common/gunzip.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/gunzip.md diff --git a/pages/common/gunzip.md b/pages/common/gunzip.md new file mode 100644 index 000000000..7baf793bc --- /dev/null +++ b/pages/common/gunzip.md @@ -0,0 +1,15 @@ +# gunzip + +> Extract file(s) from a gzip (.gz) archive. + +- Extract a file from the archive replacing the original file: + +`gunzip {{archive.tar.gz}}` + +- Extract file to a target destination: + +`gunzip -c {{archive.tar.gz}} > {{archive.tar}}` + +- List of contents of the compressed file: + +`gunzip -l {{file.txt.gz}}`