ubuntu 18.04 compress tar.gz code example Example: extract tar.gz ubuntu terminal tar -xvf yourfile.tar.gz