tldr/pages/common/zmore.md

25 lines
362 B
Markdown
Raw Normal View History

2021-10-10 02:55:51 +01:00
# zmore
> View `gzip` compressed files with `more`.
2021-10-10 02:55:51 +01:00
> 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`