Skip to content

Instantly share code, notes, and snippets.

@xsscx
Created October 9, 2016 13:27
Show Gist options
  • Save xsscx/0d8a6736c3c697e242e4c102de3b0d1e to your computer and use it in GitHub Desktop.
Save xsscx/0d8a6736c3c697e242e4c102de3b0d1e to your computer and use it in GitHub Desktop.
Random MAC Address for OSX 10.12
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