Skip to content

Instantly share code, notes, and snippets.

@paulmars
Created October 4, 2015 19:07
Show Gist options
  • Select an option

  • Save paulmars/ea82a17db565c6f5c526 to your computer and use it in GitHub Desktop.

Select an option

Save paulmars/ea82a17db565c6f5c526 to your computer and use it in GitHub Desktop.
rename your computer from CLI
# http://osxdaily.com/2012/10/24/set-the-hostname-computer-name-and-bonjour-name-separately-in-os-x/
sudo scutil --set ComputerName "NAME"
sudo scutil --set HostName "NAME"
sudo scutil --set LocalHostName "NAME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment