Using 'jot' to generate random passwords: jot -rcs "" 8 33 123 on some systems: jot -r -c -s "" 8 33 123 [seed] '8' is the length of the password (8 chars) This will produce a random string of 8 chars from ascii char 33 to 123: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{ seed is the seed. You may replace it with `jot -r 1 0 128000`