xzless - Man Page
view xz or lzma compressed (text) files
Examples (TL;DR)
- 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
Synopsis
xzless [file...]
lzless [file...]
Description
xzless is a filter that displays text from compressed files to a terminal. Files supported by xz(1) are decompressed; other files are assumed to be in uncompressed form already. If no files are given, xzless reads from standard input.
xzless uses less(1) to present its output. Unlike xzmore, its choice of pager cannot be altered by setting an environment variable. Commands are based on both more(1) and vi(1) and allow back and forth movement and searching. See the less(1) manual for more information.
The command named lzless is provided for backward compatibility with LZMA Utils.
Environment
See Also
Referenced By
The man page lzless(1) is an alias of xzless(1).
2024-02-12 Tukaani XZ Utils