Last active
November 12, 2022 10:11
-
-
Save gaddoz/42018b97c588e10f55ba4ee6216ceb43 to your computer and use it in GitHub Desktop.
macos-set-host-name #macos
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
sudo scutil --set ComputerName "newname" | |
sudo scutil --set LocalHostName "newname" | |
sudo scutil --set HostName "newname" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment