Name
zmore
Synopsis
zmore [files]Similar to more. Uncompresses files and prints
them, one screen at a time. Works on files compressed with
compress, gzip, or
pack, and with uncompressed files.
Commands
- Space
Print next screenful.
-
i[number] Print next screenful, or
numberlines. Setitonumberlines.-
d, Ctrl-D Print next
i, or 11 lines.-
iz Print next
ilines or a screenful.-
is Skip
ilines. Print next screenful.-
if Skip
iscreens. Print next screenful.-
q,Q,:q,:Q Go to next file, or, if current file is the last, exit
zmore.-
e,q Exit
zmorewhen the prompt "--More--(Next file: file)" is displayed.-
s Skip next file and continue.
-
= Print line number.
-
i/expr Search forward for
ith occurrence (in all files) ofexpr, which should be a regular expression. Display occurrence, including the two previous lines of context.-
in Search forward for the
ith occurrence of the last regular expression searched for.-
!command Execute
commandin shell. Ifcommandisn’t specified, execute last shell command. To invoke a shell without passing it a command, enter\!.- .
Repeat the previous command.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access