Skip to content

Instantly share code, notes, and snippets.

@jdh747
Created March 9, 2017 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdh747/be400244a6dd861d0901f02747b8f06c to your computer and use it in GitHub Desktop.
Save jdh747/be400244a6dd861d0901f02747b8f06c to your computer and use it in GitHub Desktop.
Randomise MAC Address
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' | xargs sudo ifconfig en0 ether
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment