tar file to tar.gz code example
Example 1: unzip tar.gz
tar -xvf file.tar.gz
Example 2: linux unpack tar.gz file
tar -zxvf file_name.tar.gz
Example 3: unzip a tar.gz file in linux
tar -xvzf community_images.tar.gz
Example 4: tar.gz files
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file