extraxt tar in ubuntu code example Example 1: untar .tar file tar -xvf yourfile.tar Example 2: extract tar.gz linux command line tar xvzf file.tar.gz