unzip .tar files in linux code example Example: extract tar.gz ubuntu terminal tar -xvf yourfile.tar.gz