DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
shell create random mac
printf '02:00:00:%02X:%02X:%02X ' $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#shell
#create
#random
#mac
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit