tar folder linux and decompress code example Example 1: uncompress tar tar -xvf filename.tar Example 2: untar .tar file tar -xvf yourfile.tar