DEV Community


Discussion on: Bash random password generator

rsa profile image
Ranieri Althoff

No love for pwgen?

alexgeorgiev17 profile image
Alex Georgiev Author • Edited


It is great idea to use pwgen but I believe it does not come installed by default and the idea was to build the script in a way that you wont need to install any additional software.

Thanks for sharing it!

darkain profile image
Vincent Milum Jr • Edited

If the idea is to use only things available by default, note that BASH doesn't come with every OS out there either.

POSIX sh is far more common than bash

Thread Thread
bobbyiliev profile image
Bobby Iliev

I think that if you change the shebang to /bin/sh it would also work fine.