×

Handy List of Terminal Commands

terminalcap

Published: 2009-11-20

This list is more for my personal reference than anything but you may find some useful information here.

Restart .profile . ~/.profileStop default Apache on OSxsudo /usr/sbin/apachectl stop

Restart Apache sudo /opt/local/apache2/bin/apachectl restart

Start mysql sudo mysqld_safe5

Change database privileges grant all privileges on "databasename".* to 'name'@'localhost' identified by 'name'

Dump database mysqldump db_name > backup-file.sqlImport database``mysql db_name