Linux Tutorial
We can extract or unzip the .tar.xz file in linux using tar command.
Syntax:
tar -xf filename.tar.xz
GNU 'tar' is used to save many files together into a single tape or disk archive, and also can restore individual files from the archive.
tar [OPTION...] [FILE]...
-x, --extract, --get: extract files from an archive
-f, --file=ARCHIVE: use archive file or device ARCHIVE
Let's see the example,
$ tar -xz test.tar.xz
Output:
$ ls test.tar.xz test
Linux Tutorial
Privacy Policy | Copyright2020 - All Rights Reserved. | Contact us | Report website issues in Github | Facebook page | Google+ page