Skip to content

Instantly share code, notes, and snippets.

@jamesbrink
Created February 20, 2019 05:16
Show Gist options
  • Save jamesbrink/c86c2ee83216348bcfea6c32c78a324b to your computer and use it in GitHub Desktop.
Save jamesbrink/c86c2ee83216348bcfea6c32c78a324b to your computer and use it in GitHub Desktop.
Generate random MAC
#!/usr/bin/env bash
hexdump -vn3 -e '/3 "52:54:00"' -e '/1 ":%02x"' -e '"\n"' /dev/urandom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment