untar .tar file code example
Example 1: extract tar.gz ubuntu terminal
tar -xvf yourfile.tar.gz
Example 2: how to tar a file
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Example 3: uncompress tar
tar -xvf filename.tar
Example 4: untar .tar file
tar -xvf yourfile.tar
Example 5: how to untar a tar file
tar -zxvf file_name.tar.gz