how to unzip .tar.xz the folder in linux xommand code example Example 1: extract a tar.xz file linux tar -xf filename.tar.xz Example 2: extract tar.xz linux tar -xf filename