Change hostname on Mac OS X

sudo scutil —set HostName servername.example.com

See Also:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License