Session and utilities
The unxz command
Decompresses .xz files.
Syntax
unxz [-k] archivo.xzMost useful options
-kKeeps the .xzCopy-ready examples
$ printf 'texto\n' > f.txt && xz -k f.txt && unxz -k f.txt.xz && lsDecompress .xzYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- It is the same as xz -d.
FAQ
Is it fast?
xz decompression is fairly fast even though compression is slow.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course