Skip to content

Instantly share code, notes, and snippets.

@csik
Created February 24, 2016 12:42
Show Gist options
  • Save csik/651e35ecfbbcddcbd9f9 to your computer and use it in GitHub Desktop.
Save csik/651e35ecfbbcddcbd9f9 to your computer and use it in GitHub Desktop.
A quick way to randomly change your mac address (os x) -- great for airports.
sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment