linux unzip tar.gz to folder code example
Example 1: unzip tar.gz
tar -xvf file.tar.gz
Example 2: unzip a tar.gz file in linux
tar -xvzf community_images.tar.gz
Example 3: extract from tar gz into folder
mkdir foo
tar -xzf bar.tar.gz -C foo
tar -xvf file.tar.gz
tar -xvzf community_images.tar.gz
mkdir foo
tar -xzf bar.tar.gz -C foo