Generate a random filename in unix shell

Posted by R S on Stack Overflow See other posts from Stack Overflow or by R S
Published on 2010-05-08T11:06:46Z Indexed on 2010/05/08 11:08 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

Hello,

I would like to generate a random filename in unix shell (say tcshell). The filename should consist of random 32 hex letters, e.g.:

c7fdfc8f409c548a10a0a89a791417c5

(to which I will add whatever is neccesary). The point is being able to do it only in shell without resorting to a program.

© Stack Overflow or respective owner

Related posts about shell

Related posts about random