This site is brought to you by the Electrical and Computer Engineering department

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

Set or Change Hostname (via the GUI)

  • Open System Preferences
  • Select Sharing
    Select the Edit button and enter your desired Local Hostname and click OK

Note:  If the Edit button is greyed out, click on the Lock Icon, authenticate with an admin account

Set or Change Hostname (via Terminal) - OS X Mavericks or newer

  • Open Terminal by going to Applications, then Utilities, and select Terminal
  • The type the following:

sudo hostname -s new_hostname
For example:  sudo hostname -S ECE-MAC

Set or Change Hostname (via Terminal) - OS X 10.6 - 10.8

  • Open Terminal by going to Applications, then Utilities, and select Terminal
  • The type the following:

sudo scutil –-set HostName new_hostname
For example: sudo scutil –-set HostName ECE-MAC

 

 

 

 

  • No labels