Created
August 17, 2013 22:42
-
-
Save DerekK19/6259046 to your computer and use it in GitHub Desktop.
Set Mac OSX machine name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for example Name with capital is "Derekmac" and fully qualified lower case name is "derekmac.derek.domain.com" | |
sudo scutil --set ComputerName <Name with capital> | |
sudo scutil --set LocalHostName <Name with capital> | |
sudo scutil --set HostName <fully qualified lower case name> | |
dscacheutil -flushcache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment