tar xz extract file to a specific folder code example Example: extract a tar.xz file linux tar -xf filename.tar.xz