Create random password
using /dev/urandom to generate a random string
Create a random 10 character string:
head -n 100 /dev/urandom | strings -s '' | head -c 10 | echo $(cat)
Or generate a longer string:
head -n 100 /dev/urandom | strings -s '' | head -c 100 | echo $(cat)
head -n 100 /dev/urandom | strings -s '' | head -c 10 | echo $(cat)
Or generate a longer string:
head -n 100 /dev/urandom | strings -s '' | head -c 100 | echo $(cat)