xzless
Display text from xz and lzma compressed files. See also: less. More information: <https://manned.org/xzless>.
Install
- All systems
-
curl cmd.cat/xzless.sh
- Debian
-
apt-get install xz-utils
- Ubuntu
-
apt-get install xz-utils
- Alpine
-
apk add xz
- Arch Linux
-
pacman -S xz
- Kali Linux
-
apt-get install xz-utils
- CentOS
-
yum install xz
- Fedora
-
dnf install xz
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install xz-utils
- OS X
-
brew install xz
- Raspbian
-
apt-get install xz-utils
- Dockerfile
- dockerfile.run/xzless
- Docker
-
docker run cmd.cat/xzless xzless
powered by Commando
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
© tl;dr; authors and contributors