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
Premnaath 866045c716
xzless: add examples (#10179)
* xzless: add examples

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-05-13 23:39:53 +02:00

17 lines
421 B
Markdown

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