un tar files code example Example 1: untar .tar file tar -xvf yourfile.tar Example 2: how to untar a tar file tar -zxvf file_name.tar.gz