Last active
October 13, 2016 20:13
-
-
Save mehmetboraezer/1b8fef96b31faf4efff590559f10aec8 to your computer and use it in GitHub Desktop.
Random name generator for OS X
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
#!/bin/sh | |
# Run the script as root | |
MACHINE_ID=$RANDOM | |
scutil --set ComputerName $MACHINE_ID | |
scutil --set LocalHostName $MACHINE_ID | |
scutil --set HostName $MACHINE_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment