Three Linux Commands You Can’t Live Without
February 18th, 2009
Okay, we’re not going to talk about the shutdown, yum, etc. commands, though THEY are probably the ones that nobody can live without. I’m talking about the web here, remember? And we all know that not everybody owns a VPS, a VDS or a dedicated server. Virtual hosting plans are quite cheap today, and most of them are tuned to provide you with SSH access and basic privileges (although I DO highly recommend you get yourself a VPS, it’s not much more expensive than virtual hosting and I’m sure it’s worthed). These linux commands are extremely helpful when doing backup or moving from one server to another.
Please Memorize These Linux Commands

1. Create a compressed archive of the current directory:
tar -cvzf backup.tar.gz ./*
2. Create a compressed archive of a MySQL database dump:
mysqldump -u username -p password -h host -P port databasename | gzip -c > mysql.sql.gz
3. Get directory contents from a remote FTP server:
wget -r ftp://username:password@domain.com/directory/*
Hope that helped ;)
This is the fastest and easiest way you can reach out to me. Just type in your message in the box below and click Tweet. If it's the first time you're tweeting via this form, you'll be directed to Twitter to grant access. Alternatively you can use my 











