Ubuntu 9.10 / 9.04 – important places you will deal with

Basic

/etc/init.d/…. [this is where all your application controls are]
/etc/…. [this is where your applications are]
/var/www/… [this is where your web server html/php files are]
/var/log/… [this is where your log files are]
/home/…. [this is where home directory of your users are held]

Basic II

/etc/passwd [file which stores the password]
/etc/shadow
/etc/group

Nice Commands

php-cgi -v [if php5-cgi is installed]
sudo cp. [copy command]
chmod [changes the control of the folder]
ssh asd@123.45.67.89 [ssh into another machine]
free -m [view memory usage]
grep mydomain /etc/group [shows which group user mydomain is in]
[ref: http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/]
usermod -a -G adm demo
[ref: http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/]
Top / ps -ef
vmstat 1 [si so is the swap]
crontab -e [to edit]
crontab -l [to list]