mktemp.1 (698B)
1 .TH MKTEMP 1 sbase\-VERSION 2 .SH NAME 3 mktemp \- make temporary filename 4 .SH SYNOPSIS 5 .B mktemp 6 .RB [ \-dq ] 7 .RB [ template ] 8 .SH DESCRIPTION 9 .B mktemp 10 takes the given filename template and overwrites a portion of it 11 to create a unique filename. The template may be any filename with at least 12 six `Xs' appended to it. If no template is specified a default of 13 `tmp.XXXXXXXXXX' is used and the tmpdir is set to `/tmp' unless the 14 TMPDIR envrionment variable has been set. 15 .SH OPTIONS 16 .TP 17 .B \-d 18 Make a directory instead of a file 19 .TP 20 .B \-q 21 Fail silently if an error occurs. This is useful if a script 22 does not want error output to go to standard error. 23 .SH SEE ALSO 24 .IR mkdtemp (3), 25 .IR mkstemp (3)