Skip to content

Instantly share code, notes, and snippets.

@alksl
Created March 28, 2014 17:36
Show Gist options
  • Save alksl/9838374 to your computer and use it in GitHub Desktop.
Save alksl/9838374 to your computer and use it in GitHub Desktop.
/sbin/ifconfig en0 ether $(/usr/bin/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