Bash script that generates a random MAC address: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
-n<''number''> Interpret only ''number'' bytes of the input.
-n<''number''> Interpret only ''number'' bytes of the input.


-e ' ''format-string'' '
-e&#39;''format-string'' '

Revision as of 23:56, 19 March 2019

Internal

Overview

hexdump -n3 -e'/3 "52:54:00" 3/1 ":%02X"' /dev/random; echo ""

Options:

-n<number> Interpret only number bytes of the input.

-e'format-string '