DEV Community 👩‍💻👨‍💻

Discussion on: Bash random password generator

alexgeorgiev17 profile image
Alex Georgiev Author • Edited on


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 on

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.