mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 18:42:08 +00:00
23 lines
514 B
Plaintext
23 lines
514 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# xzless
|
|
|
|
> Display text from `xz` and `lzma` compressed files.
|
|
> See also: `less`.
|
|
> More information: <https://manned.org/xzless>.
|
|
|
|
- View a compressed file:
|
|
|
|
`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}}`
|