Basic Ubuntu Commands

Posted under » Ubuntu on 30 September 2009

Super user

sudo su -

Find out the processes

ps -elf | less

Find out Systems configuration
memory, firmware version, mainboard, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems


Find out open ports



/etc/init.d/mysql stop
/etc/init.d/mysql start 

To update ubuntu

apt-get update
apt-get upgrade

To install

apt-get install apache2
apt-get install php5-gd
apt-get install php-pear
apt-get install openssh-server
apt-get install gparted 
apt-get install libcgi-session-perl
apt-get install php5-mcrypt
apt-get install php5-ldap
apt-get install bzr
apt-get install libqt3-mt

To uninstall

apt-get remove --purge python-mako

To renstall

apt-get --reinstall install python-mako

Quite similar to apt-get but this is more GUI driven and will list app on the menu.

aptitude install gftp 

For start, stop, restart apache in ubuntu, click here.

For Python related stuff, click here.

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css