Untar & Unzip a tar.gz File In One Step

This command will untar and unzip all files in a single step. If you’re running Linux you’ll be doing this all the time so memorize the params passed in. The x tells it to extract the tar. The z tells it to unzip. v is for verbose. And f tells it file, versus standard input.

tar xvfz yourfile.tar.gz

If you just want to unzip the .gz file, typically for a single file that wasn’t tared up, that’s this one.