mardi 26 mai 2020

How to generate n string (ie. twenty) from pattern?

Now I'm using this code

tr -dc 'A-X0-9' < /dev/urandom | head -c12 > test.txt

and works fine but it generate only one string without any pattern.

How to modify this string to generate n string (ie. twenty) starting with: "MyPassword" and then 12 generated digits?

thanks!




Aucun commentaire:

Enregistrer un commentaire