Add bash_random.sh

This commit is contained in:
icaema 2023-10-28 22:25:01 -04:00
parent 61e665f646
commit a009ddc704
1 changed files with 8 additions and 0 deletions

8
bash_random.sh Executable file
View File

@ -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"