Skip to content

Instantly share code, notes, and snippets.

@timoschilling
Created November 15, 2012 22:49
Show Gist options
  • Select an option

  • Save timoschilling/4082060 to your computer and use it in GitHub Desktop.

Select an option

Save timoschilling/4082060 to your computer and use it in GitHub Desktop.
create random mac addresses
sudo ifconfig en0 ether `ruby -e "puts '00:'+(1..5).map{rand(128).to_s(16)}.join(':')"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment