HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

zmore — View `gzip` compressed files with `more`. More information: <https://manned.org/zmore>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandzmorefilesgzipcliwithcompressedview

Problem

How to use the zmore command: View gzip compressed files with more. More information: <https://manned.org/zmore>.

Solution

zmore — View gzip compressed files with more. More information: <https://manned.org/zmore>.

Open a compressed file:
zmore {{path/to/file.txt.gz}}


Display the next page of the file:
<Space>


Search for a pattern in the file (press <n> to go to next match):
</>{{regex}}


Exit:
<q>


Display interactive command help:
<h>

Code Snippets

Open a compressed file

zmore {{path/to/file.txt.gz}}

Display the next page of the file

<Space>

Search for a pattern in the file (press `<n>` to go to next match)

</>{{regex}}

Exit

<q>

Display interactive command help

<h>

Context

tldr-pages: common/zmore

Revisions (0)

No revisions yet.