Skip to content

Instantly share code, notes, and snippets.

@jocoonopa
Created December 9, 2019 03:31
Show Gist options
  • Save jocoonopa/6f3c2c67a697aa1bb561ab94f61bd616 to your computer and use it in GitHub Desktop.
Save jocoonopa/6f3c2c67a697aa1bb561ab94f61bd616 to your computer and use it in GitHub Desktop.
# 随机生产一个MAC地址
openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’
# f9:43:52:60:27:3e
sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment