bash random mac address Fiev "one line" examples to generate a mac address: 1. VMware MAC root@linux ~ # dd if=/dev/urandom bs=1 count=3 2>/dev/null | od -tx1 | head -1 | cut -d' ' -f2- | awk '{ print "00:0c:29:"