unzip tar linux code example
Example 1: extract tar.gz ubuntu terminal
tar -xvf yourfile.tar.gz
Example 2: unzip a tar.gz file in linux
tar -xvzf community_images.tar.gz
Example 3: extract tar linux
tar -zxvf file_name.tar.gz
Example 4: how to unzip Tar file
tar -xvf filename.tar.gz
tar -xvf filename.tar.gz -C /path_name_for_unzip/
-x : extract
-C : specified directory
-v : Verbosely show the .tar file progress.
-f : filename of archive file
Example 5: how to unzip using tar
tar -xf archive.tar.gz