How to Extract .tar.gz

If you have a file with extension .tar.gz, you can use the below command to extract it tar –xvzf filename.tar.gz