how to open .tar.xz file into a folder ubuntu code example Example: extract a tar.xz file linux tar -xf filename.tar.xz