scutil

Change hostname on OS X

scutil --set HostName lightcycle.beandog.org