With following command you can print a random string of a certain length on Linux.
tr -dc A-Za-z0-9 </dev/urandom | head -c 32 ; echo ''
The string is safe to use in most web contexts such as HTML forms or environment variables.
Erben Systems GmbH
Watterstrasse 81, c/o Sarbach Treuhand AG, 8105 Regensdorf, Switzerland
CHE-174.268.027 MwSt