Extract Sql.gz and tar.gz file Drupal and Linux

If you want to decompress / extract an sql archive generated from phpmyadmin you can do it easily:-
gunzip myolddrupaldb.sql.gz
Also you can use tar command for extracting drupal archive in gz. format. e.g a file like drupal-6.15.tar.gz tar -zxvf Drupal-6.15.tar.gz