linux create random string code example Example: random string linux tr -dc A-Za-z0-9 </dev/urandom | head -c 64 > random_text.txt