how to unzip a tar.gz file in linux code example
Example 1: unzip tar.gz
tar -xvf file.tar.gz
Example 2: tar.gz files
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
tar -xvf file.tar.gz
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file