extract files from tar linux command code example
Example 1: extract tar.gz ubuntu terminal
tar -xvf yourfile.tar.gz
Example 2: extract tar to destination
tar xf file.tar.gz -C /root/Desktop/folder
tar -xvf yourfile.tar.gz
tar xf file.tar.gz -C /root/Desktop/folder