Use terminal to get a file from web in OSX

To get a file from the web server use the following curl -O http://www.hostname.com/folder1/file.log link: http://osxdaily.com/2007/05/11/download-files-from-the-web-via-the-os-x-command-line/ Using cURL to automate HTTP job link: http://curl.haxx.se/docs/httpscripting.html

Read More »

Use mysql in OSX terminal

The installation process do not make the alias to the MySQL installation path so here is what I do. alias mysql=/usr/local/mysql/bin/mysql alias mysqladmin=/usr/local/mysql/bin/mysqladmin Link: http://dev.mysql.com/doc/refman/5.0/en/macosx-installation.html

Read More »

Examples Of Using CHMOD

http://hostings.com/manual/sectione/using_chmod.htm PEOPLE PERMISSIONS u = the file’s user (you) r = read access g = the file’s group x = execute access o = others

Read More »

Mac OS System Error Codes: -299 to -5553

http://support.apple.com/kb/HT2237?viewlocale=en_US Notification Manager Error -299 nmTypErr Invalid qType*must be ORD(nmType) Start Manager Errors -290 smSDMInitErr SDM could not be initialized. -291 smSRTInitErr Slot Resource Table

Read More »

Edit hosts file in MAC OS X

In the last version Leopard, I use TextWrangler to edit my system configuration files, recently I’ve upgrade to OS X – Lion, since then when I try

Read More »

Mackintosh First tips

When starting up the MAC holding down the option key, it will bring you to a menu to let you choose boot from the Recovery

Read More »