Category — Command Line
Generate unique ID numbers
Open Terminal and type uuidgen, press return. There’s your ID string.
November 12, 2008 No Comments
Starting and stopping Mysql on Leopard, terminal method
Starting SQL:
sudo /usr/local/mysql/support-files/mysql.server start
Stopping SQL:
sudo /usr/local/mysql/support-files/mysql.server stop
October 22, 2008 No Comments
Show hidden files
Display hidden files by typing in the Terminal: defaults write com.apple.finder AppleShowAllFiles TRUE
then relaunch the Finder with: killall Finder
Change TRUE to FALSE in the top line and relaunch the Finder to reverse the effect.
April 5, 2008 No Comments
Make a sym link
ln -s [path to the file you want to link to] [name of the alias]
For example:
ln -s /private/var/mysql/mysql.sock /private/tmp/mysql.sock
creates a symbolic link (an alias) of the mysql.sock file in /var/ and places the alias in /tmp
BTW, to get the path of a file into Terminal, just drag the file icon into the Terminal window.
January 7, 2008 No Comments