Skip to content

Instantly share code, notes, and snippets.

@redaphid
Created August 5, 2018 12:41
Show Gist options
  • Save redaphid/d65aefbb8fedd0f6747ccc8a3153c90f to your computer and use it in GitHub Desktop.
Save redaphid/d65aefbb8fedd0f6747ccc8a3153c90f to your computer and use it in GitHub Desktop.
Randomize your mac address for...macs
#!/bin/sh
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