I am generating the random string to change the password of users by shell scripting. I am using the below command to generate the random string
</dev/urandom tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' | head -c 13 ; echo
I am not able to put this on a variable.