1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/xzless.md

18 lines
421 B
Markdown
Raw Normal View History

2022-10-25 16:00:43 +05:30
# xzless
> Display text from `xz` and `lzma` compressed files.
2022-10-25 16:00:43 +05:30
> See also: `less`.
> More information: <https://manned.org/xzless>.
- View a compressed file:
2022-10-25 16:00:43 +05:30
`xzless {{path/to/file}}`
- View a compressed file and display line numbers:
`xzless --LINE-NUMBERS {{path/to/file}}`
- View a compressed file and quit if the entire file can be displayed on the first screen:
`xzless --quit-if-one-screen {{path/to/file}}`