mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
450 B
Plaintext
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>`
|