Create a unique temporary file or directory
mktemp [-V] | [-dqtu] [-p prefix] [template]
QNX Neutrino
In this mode, the template (if specified) should be a directory component (as opposed to a full path) and thus shouldn't contain any forward slashes.
The mktemp utility creates a unique temporary file or directory. The template can be any filename with at least six X characters appended to it. The Xs are replaced with a unique combination of alphanumeric characters. If you don't specify a template, then mktemp uses tmp.XXXXXXXXXX, and the -t option is implied.
If mktemp successfully generates a unique name, it then opens the file or directory with read and write permission for the owner (unless you specify the -u option).
The mktemp utility was developed by Todd C. Miller.