Sodamhan.com

TL;DR

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

This document was created using the contents of the tldr project.