MacOSX and hostname

h/t Larry Gordon (copied because I want to make sure I always have it available):

When I log into the network at my job my Mac’s hostname always turns to:

I have my local hostname set to:


So What I would like to do is set my Mac’s hostname to my local hostname. You can do this all from Terminal in a single line.

Run this command in Terminal:

sudo scutil --set HostName larryx.local

This entry was posted in help notes, technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *