tmpfile command

Various methods exists to create a random temporary file name. This is useful if your application/shell scripting needs temporary unique file names. Method #1: Use of $RANDOM bash shell variable 1) At shell prompt type command: # echo $RANDOM You will get random value every time. This variable can be use to create unique file […]

{ 13 comments }