HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xzless — Display text from `xz` and `lzma` compressed files. See also: `less`. More information: <https://man

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandtextfromandlzmaclixzlessdisplay

Problem

How to use the xzless command: Display text from xz and lzma compressed files. See also: less. More information: <https://manned.org/xzless>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/xzless

Revisions (0)

No revisions yet.