In this video demonstration, i'm gonna show you that how to extract or unzip a tar.gz or gzip file.
To extract a tar.gz file:-
#tar -xvzf gzip_filename
To extract a tar.gz file in specific location:-
#tar -xvzf gzip_filename -C directory_path