Skip to content

Instantly share code, notes, and snippets.

@SergioGeeK7
Created April 19, 2019 14:22
Show Gist options
  • Save SergioGeeK7/3eaaa71ee8aa97c87b5267b10aa6d5e2 to your computer and use it in GitHub Desktop.
Save SergioGeeK7/3eaaa71ee8aa97c87b5267b10aa6d5e2 to your computer and use it in GitHub Desktop.
# current
ifconfig en0 |grep ether
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
sudo ifconfig en0 ether [randomNumber]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment