tldr/pages/common/xzless.md

18 lines
421 B
Markdown
Raw Normal View History

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