tar file extract code example
Example 1: extract tar.gz ubuntu terminal
tar -xvf yourfile.tar.gz
Example 2: extract tar linux
tar -zxvf file_name.tar.gz
Example 3: extract a tar.xz file linux
tar -xf filename.tar.xz
Example 4: untar .tar file
tar -xvf yourfile.tar
Example 5: extract tar
tar -xvf file.tar