I wrote a script that can generate random passwords. If you want to generate only numbers or only letters or upper-case passwords, you can customize them. I have written all the elements here. #! /Bin/bash # author: honway. liu # date: 2013-07-19 # concate: gm100861@gmail.comlen = 90str = (abcdefghijklmnopqrstuvwxyz
I wrote a script that can generate random passwords. If you want to generate only numbers or only letters or upper-case passwords, you can customize them. I have written all the elements here.
#!/bin/bash# author: honway.liu# date: 2013-07-19# concate: gm100861@gmail.comlen=90str=(a b c d e f g h i j k l m n o p q r s t u vw x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9 0 \! \@ \# \$ \% \^ \& \* \( \) \- \_ \= \+ \\ \/ \' \" \; \: \[ \] \{ \} \, \. \?)for((i=1;i<=$len;i++));doarr[$i]=${str[$[$RANDOM%87]]}done;echo"${arr[@]}"|tr-d " "