Advanced · Packaging and Compression
xz: Use xz compression
Syntax
xz [-k] fileExamples
xz -k app.logUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
tarPack, view and restore archivesgzipcompressed filegunzipRecover compressed fileszipCreate ZIP archiveunzipUnzip the ZIP archivebzip2Use bzip2 compressionbunzip2Unzip the bzip2 fileunxzUnzip the xz filezcatRead gzip filezgrepSearch for gzip textzstdUse Zstandard compression7zManage multiple archive formats