diff --git a/bash_random.sh b/bash_random.sh new file mode 100755 index 0000000..0feb992 --- /dev/null +++ b/bash_random.sh @@ -0,0 +1,8 @@ +#!/bin/bash +#======================================= +# Password generator with login option +#======================================= +for i in {1..5}; do (tr -cd '[:alnum:][:punct:][:alnum:]' < /dev/urandom | fold -w24 | head -n 1); done + +# Print the strings +printf "$pass_output\n"