## 查看所有接口mac地址networksetup -listallhardwareports## 生成mac地址openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'## 修改mac地址sudo ifconfig en0 ether af:31:b1:79:13:60openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' | xargs sudo ifconfig en0 ether