generating passwords in cli

-c = length of the password

< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c10

generating random txt

< /dev/urandom tr -dc [:print:] | head -c10000 > lol.txt

Leave a Reply