Working with tarfiles

Learning how to use Linux? I tend to forget most Unix commands I don’t use over time. So, I’m posting the command for unzipping and untarring files typically encountered when downloading files from the internet. To unzip or untar a downloaded file, you will need to perform the following commands:

gunzip filename.gz
tar -xvf filename.tar
rpm -i filename.rpm

Of course, substitute filename.ext with the actual filename and extension. That’s it.