Q: How do I decompress a .zip or .tar.gz file?
A: You can decompress files with the extension .zip using the unzip command. Simply type:
unzip filename.zipYou can decompress files with the extension .tar.gz using the gunzip and tar commands as follows:
gunzip filename.tar.gztar xvf filename.tar