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