2022-10-25 11:30:43 +01:00
|
|
|
# xzless
|
|
|
|
|
|
|
|
> Display text from `.xz` and `.lzma` files.
|
|
|
|
> See also: `less`.
|
|
|
|
> More information: <https://manned.org/xzless>.
|
|
|
|
|
2023-05-13 22:39:53 +01:00
|
|
|
- View a compressed file:
|
2022-10-25 11:30:43 +01:00
|
|
|
|
2023-05-13 22:39:53 +01:00
|
|
|
`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}}`
|