Created
April 14, 2011 22:08
-
-
Save jersub/920684 to your computer and use it in GitHub Desktop.
Generates a random MAC address and prints it to stdout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
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