Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cli generate random string

#purely random 12 character string
openssl rand 12

# more useful random 12 character strings
openssl rand -base64 12

# random hex-code sequence
openssl rand -hex 12
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #cli #generate #random #string
ADD COMMENT
Topic
Name
4+2 =