Files
cheatsheet-tldr/tldr/zmore
2025-07-26 00:21:07 +00:00

30 lines
450 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):
`</>{{regex}}`
- Exit:
`<q>`
- Display interactive command help:
`<h>`