Simple random password generator in bash

One liner:

pass=`cat /dev/urandom | head -2 | tr -cd 'a-zA-Z0-9!@#$%^&*()_+-=][';/.,'`; echo ${pass:4:30}

function in .bashrc:

pass(){
    password=`cat /dev/urandom | head -2 | tr -cd 'a-zA-Z0-9!@#$%^&*()_+-=][';/.,'`;
    echo ${password:4:30}
}

agilob[20:01:06]5]</~
$ pass
@o^[lhHNVdMHM:ix.Q;44fW=mdY*jF
 
agilob[20:01:12]6]</~
$ pass
/K<41!e*aI3CseDhsR;Gjc(RT,X1+F
 
agilob[20:01:13]7]</~
$ pass
VS^MLuw5!O@%-A0y_Xx*x:9E3B*f^!
[Total: 0    Average: 0/5]