Add bash_random.sh
This commit is contained in:
parent
61e665f646
commit
a009ddc704
|
|
@ -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"
|
||||||
Loading…
Reference in New Issue