OS X

From Han Wiki
Revision as of 09:54, 14 June 2016 by Mhan (talk | contribs) (→‎Change hostname that shows up on CLI: add an optional reference)

Jump to navigation Jump to search

Change hostname that shows up on CLI

The hostname doesn't seem to change in spite of changing the computer name in Sharing preference, and NetBIOS names. This command has to be executed at the CLI to change the hostname.

$ sudo scutil --set HostName newhostname.local