diff options
Diffstat (limited to '')
-rw-r--r-- | man/mktemp.1 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/man/mktemp.1 b/man/mktemp.1 new file mode 100644 index 0000000..eca42ac --- /dev/null +++ b/man/mktemp.1 @@ -0,0 +1,64 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. +.TH MKTEMP "1" "August 2023" "GNU coreutils 9.4" "User Commands" +.SH NAME +mktemp \- create a temporary file or directory +.SH SYNOPSIS +.B mktemp +[\fI\,OPTION\/\fR]... [\fI\,TEMPLATE\/\fR] +.SH DESCRIPTION +.\" Add any additional description here +.PP +Create a temporary file or directory, safely, and print its name. +TEMPLATE must contain at least 3 consecutive 'X's in last component. +If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and \fB\-\-tmpdir\fR is implied. +Files are created u+rw, and directories u+rwx, minus umask restrictions. +.TP +\fB\-d\fR, \fB\-\-directory\fR +create a directory, not a file +.TP +\fB\-u\fR, \fB\-\-dry\-run\fR +do not create anything; merely print a name (unsafe) +.TP +\fB\-q\fR, \fB\-\-quiet\fR +suppress diagnostics about file/dir\-creation failure +.TP +\fB\-\-suffix\fR=\fI\,SUFF\/\fR +append SUFF to TEMPLATE; SUFF must not contain a slash. +This option is implied if TEMPLATE does not end in X +.TP +\fB\-p\fR DIR, \fB\-\-tmpdir\fR[=\fI\,DIR\/\fR] +interpret TEMPLATE relative to DIR; if DIR is not +specified, use $TMPDIR if set, else \fI\,/tmp\/\fP. With +this option, TEMPLATE must not be an absolute name; +unlike with \fB\-t\fR, TEMPLATE may contain slashes, but +mktemp creates only the final component +.TP +\fB\-t\fR +interpret TEMPLATE as a single file name component, +relative to a directory: $TMPDIR, if set; else the +directory specified via \fB\-p\fR; else \fI\,/tmp\/\fP [deprecated] +.TP +\fB\-\-help\fR +display this help and exit +.TP +\fB\-\-version\fR +output version information and exit +.SH AUTHOR +Written by Jim Meyering and Eric Blake. +.SH "REPORTING BUGS" +GNU coreutils online help: <https://www.gnu.org/software/coreutils/> +.br +Report any translation bugs to <https://translationproject.org/team/> +.SH COPYRIGHT +Copyright \(co 2023 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. +.br +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +.SH "SEE ALSO" +\fBmkstemp\fP(3), \fBmkdtemp\fP(3), \fBmktemp\fP(3) +.PP +.br +Full documentation <https://www.gnu.org/software/coreutils/mktemp> +.br +or available locally via: info \(aq(coreutils) mktemp invocation\(aq |