Back to the command reference

unxz

ArchivesFundamentalsReference only

Decompress .xz files

Name: unxz = xz unzip

This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.

Description

unxz decompresses .xz files, like xz -d.

Syntax

unxz [OPTION]... FILE...

Common options

-k / --keepKeep the compressed file
-c / --stdoutDecompress to standard output (as xzcat)

Examples

  • $ unxz big.tar.xz

    Restores big.tar

    Explain

Related