I would like to generate a random filename in unix shell (say tcshell). The filename should consist of random 32 hex letters, e.g.:
c7fdfc8f409c548a10a0a89a7
If you have openssl in your system you can use it for generating random hex (also it can be -base64) strings with defined length. I found it pretty simple and usable in cron in one line jobs.
openssl
-base64
openssl rand -hex 32 8c5a7515837d7f0b19e7e6fa4c448400e70ffec88ecd811a3dce3272947cb452