浏览代码

Zcat and zless.

Peter Tripp 9 年之前
父节点
当前提交
4ef0b5a7d7
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 7 0
      pages/common/zcat.md
  2. 7 0
      pages/common/zless.md

+ 7 - 0
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}}`

+ 7 - 0
pages/common/zless.md

@@ -0,0 +1,7 @@
+# zless
+
+> View compressed files.
+
+- Page through a compressed archive with `less`:
+
+`zless {{file.txt.gz}}`