From e01f0ccd4af5e907ed2c97c87cafe2f1b679d8e0 Mon Sep 17 00:00:00 2001 From: nzdjb Date: Sun, 10 Oct 2021 14:55:51 +1300 Subject: [PATCH] zmore: add page (#6922) --- pages/common/zmore.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/zmore.md diff --git a/pages/common/zmore.md b/pages/common/zmore.md new file mode 100644 index 0000000000..e905152e11 --- /dev/null +++ b/pages/common/zmore.md @@ -0,0 +1,24 @@ +# zmore + +> View gzip compressed files with `more`. +> More information: . + +- Open a compressed file: + +`zmore {{path/to/file.txt.gz}}` + +- Display the next page of the file: + +`` + +- Search for a pattern in the file (press `n` to go to next match): + +`/{{regular_expression}}` + +- Exit: + +`q` + +- Display interactive command help: + +`h`