Last active
January 7, 2016 17:18
-
-
Save nareshganesan/f652c01f5314b3069ed9 to your computer and use it in GitHub Desktop.
Elcapitan change LocalHostName ComputerName HostName
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
# El capitan change computer name | |
sudo scutil --set LocalHostName "Name" # Bonjour-based services discovery name () | |
sudo scutil --set ComputerName "Name" # User Friendly computer name | |
sudo scutil --set HostName "Name" # Name to display when connecting over SSH | |
# To check if the above name is set | |
scutil --get HostName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment