ZMORE(1)
๐ ZMORE(1) ๐
ZMORE(1) is from the General Commands Manual, and bestie, it's the cutest pager in the whole terminal ๐
โจ NAME โจ
zmore - file perusal filter for crt viewing of compressed text ๐
๐ธ SYNOPSIS ๐ธ
zmore [ name ... ]
๐ DESCRIPTION ๐
okay so zmore is a filter that lets you read compressed or plain text files one screenful at a time on a soft-copy terminal ๐ฅ๏ธโจ It works on files compressed with compress, pack or gzip, and it's also totally fine with uncompressed files ๐ซถ If a file doesn't exist, zmore goes hunting for the same name with a .gz, .z or .Z suffix added on the end ๐ต๏ธโโ๏ธ
By default, zmore pauses after each screenful and shows --More-- at the bottom of the screen ๐ Hit a carriage return and you get one more line. Hit a space and you get a whole new screenful. There are more moves too, listed below ๐ฅ
zmore checks /etc/termcap to figure out what your terminal can do and how big the default window should be. On a terminal that can show 24 lines, the default window is 22 lines ๐ฆ If you'd rather use a pager other than the default more, set the environment variable PAGER to the name of the program you want, like less ๐
Here's the rest of the commands you can type while zmore is paused. The i is an optional integer argument, and it defaults to 1 โจ
i<space>โ showsimore lines (or another full screenful if you don't give a number) ๐ธ^Dโ shows 11 more lines (a "scroll") ๐ If you give ani, that becomes the new scroll size ๐dโ literally the same as^D(control-D) ๐izโ acts like a space, except thei, if you type one, becomes the new window size ๐งisโ skipsilines and then prints a screenful ๐ฆifโ skipsiscreenfuls and then prints a screenful ๐qorQโ quit ๐=โ shows the current line number ๐ขi/exprโ searches for thei-th occurrence of the regular expressionexpr๐ You can use your erase and kill characters to edit the regex. Erasing back past the first column cancels the search, so no harm, no foul ๐ซถinโ searches for thei-th occurrence of the last regular expression you entered ๐!commandโ invokes a shell withcommand๐ The character!in"command"gets swapped out for the previous shell command, and the sequence\!becomes a plain!๐:qor:Qโ quit, same asqorQ๐.โ (dot) repeats the previous command ๐
โ ๏ธ bestie, these commands take effect immediately, so you don't need to hit a carriage return. Before you've typed the command character itself, you can hit the line kill character to cancel the number you were building. You can also hit the erase character to bring back the --More-- message ๐
If output is streaming to the terminal, you can hit the quit key (normally control-\) at any time ๐ zmore will stop sending output and show the usual --More-- prompt, and then you can type any of the commands above like normal. Real talk though, some output gets lost when you do this, because any characters still waiting in the terminal's output queue get flushed when the quit signal hits ๐ญ
zmore puts the terminal into noecho mode so the output can keep flowing nicely ๐ That means what you type won't show up on your screen, except for the / and ! commands ๐
If standard output is not a teletype, zmore acts just like zcat ๐ The one difference is that if you've got more than one file, a header gets printed before each file โจ
๐ FILES ๐
/etc/termcapโ the terminal data base ๐๏ธ
๐ SEE ALSO ๐
more(1), gzip(1), zdiff(1), zgrep(1), znew(1), zforce(1), gzexe(1) ๐ซถ
Okay bestie, that's the whole ZMORE(1) page, served from the General Commands Manual ๐ โจ Go read something compressed and make it giving ๐ฆ๐
๐ฆ where this page comes from
- alpine 3.22: gzip-doc 1.14-r2 ยท GPL-3.0-or-later
- alpine 3.23: gzip-doc 1.14-r3 ยท GPL-3.0-or-later
- alpine 3.24: gzip-doc 1.14-r3 ยท GPL-3.0-or-later
- arch rolling: gzip 1.15-1 ยท GPL-3.0-or-later
- centos-stream 10: gzip 1.13-4.el10 ยท GPL-3.0-or-later AND GFDL-1.3-only
- centos-stream 9: gzip 1.12-2.el9 ยท GPLv3+ and GFDL
- debian bookworm: gzip 1.12-1 ยท GPL-3.0-or-later
- debian trixie: gzip 1.13-1+deb13u1 ยท GPL-3.0-or-later
- fedora 43: gzip 1.13-4.fc43 ยท GPL-3.0-or-later AND GFDL-1.3-only
- fedora 44: gzip 1.14-2.fc44 ยท GPL-3.0-or-later AND GFDL-1.3-only
- nixos 26.05: gzip 1.14
- nixos 26.05: gzip-static 1.14
- nixpkgs unstable: gzip 1.15
- opensuse-leap 16.0: gzip 1.13-160000.4.1 ยท GPL-3.0-or-later
- opensuse-leap 16.0: gzip 1.13-160000.4.1 ยท GPL-3.0-or-later
- opensuse-leap 16.0: gzip 1.13-160000.4.1 ยท GPL-3.0-or-later
- opensuse-leap 16.0: gzip 1.13-160000.4.1 ยท GPL-3.0-or-later
- ubuntu noble: gzip 1.12-1ubuntu3 ยท GPL-3.0-or-later
- ubuntu noble: gzip 1.12-1ubuntu3.2 ยท GPL-3.0-or-later
- ubuntu questing: gzip 1.13-1ubuntu4 ยท GPL-3.0-or-later
- ubuntu resolute: gzip 1.14-1~exp2ubuntu1 ยท GPL-3.0-or-later
- ubuntu resolute: gzip 1.14-1~exp2ubuntu1.1 ยท GPL-3.0-or-later
- ubuntu stonking: gzip 1.14-1~exp2ubuntu3 ยท GPL-3.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms