Hostname, ComputerName, LocalHostName

Setting Hostname, ComputerName, LocalHostName

Example:

scutil --set HostName yosemite.local
scutil --set ComputerName yosemite
scutil --set LocalHostName yosemite

scutil --get LocalHostName yosemite

notes: flush directory service cache

scutil –set HostName yosemite.local && scutil –set ComputerName yosemite && scutil –set LocalHostName yosemite

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.