Note: This article assumes that you have SSH access to a LAMP installation and are familiar or comfortable using the command line.
The command line is a tool that self taught developers often spend much energy avoiding as they first start to learn server side and database languages such as MySQL and PHP. At first I was extremely intimidated by the Terminal window and skipped out on a lot of tutorials that told me to log into my server via SSH, based only on the SSH factor.
As I started to get more comfortable with the basics of the PHP and MySQL, I also became more interested in harnessing the power of the command line and learning how these things depend on a greater stack of code.
I started out with a few simple VIM editor commands, editing php.ini and .htaccess files directly on the server. Once I started to branch out a little more I found out that instead of downloading large frameworks such as Drupal or ZendFramework and then having to upload them back onto the server (which can often take 30-60 minutes), I could do a quick wget http://ftp.drupal.org/files/projects/drupal-6.4.tar.gz followed by a quick tar -xvzf drupal-6.4.tar.gz. Bam! There it is no waiting, no download and upload.
TAR a file/folder(Foldername: drupal)
Example: tar cvf .tar
Usage: tar cvf drupal.tar drupal/
UNTAR a file/folder(Foldername: drupal)
Example: tar xvf .tar
Usage: tar xvf drupal.tar
GZIP a file/folder(Foldername: drupal.tar)
Example: gzip
Usage: gzip drupal.tar
UNTAR & UNGZIP
tar -xvzf