From 4ef0b5a7d7e9cbed8159e2b525a0ea19e2f6d9c3 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Sat, 16 Jan 2016 01:48:34 -0800 Subject: [PATCH] Zcat and zless. --- pages/common/zcat.md | 7 +++++++ pages/common/zless.md | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 pages/common/zcat.md create mode 100644 pages/common/zless.md diff --git a/pages/common/zcat.md b/pages/common/zcat.md new file mode 100644 index 0000000000..14a0ab1cb5 --- /dev/null +++ b/pages/common/zcat.md @@ -0,0 +1,7 @@ +# zcat + +> Print data from gzip compressed files. + +- Print the uncompressed contents of a gzipped file to the standard output: + +`zcat {{file.txt.gz}}` diff --git a/pages/common/zless.md b/pages/common/zless.md new file mode 100644 index 0000000000..19188479e4 --- /dev/null +++ b/pages/common/zless.md @@ -0,0 +1,7 @@ +# zless + +> View compressed files. + +- Page through a compressed archive with `less`: + +`zless {{file.txt.gz}}`