Mktemp is a small program to allow safe temporary file creation from shell scripts. http://www.mktemp.org/