Files
cheatsheet-tldr/tldr/zmore

30 lines
455 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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):
`/{{regular_expression}}`
- Exit:
`q`
- Display interactive command help:
`h`