Created
March 10, 2017 21:03
-
-
Save rense/8a192109aa41348f56cd1a00c97ec2b3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export MY_HOSTNAME=foobar; for n in LocalHostName ComputerName HostName; do sudo scutil --set $n $MY_HOSTNAME; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment