OS Manuals

/usr/bin/tempfile

Miscellaneous utilities specific to Debian

From debianutils 5.24-r2 (os), captured 2026-11-05 by running tempfile --help (exit 0). permalink

WARNING: tempfile is deprecated; consider using mktemp instead.
Usage: /usr/bin/tempfile [OPTION]

Create a temporary file in a safe manner.

-d, --directory=DIR  place temporary file in DIR
-m, --mode=MODE      open with MODE instead of 0600
-n, --name=FILE      use FILE instead of tempnam(3)
-p, --prefix=STRING  set temporary file's prefix to STRING
-s, --suffix=STRING  set temporary file's suffix to STRING
    --help           display this help and exit
    --version        output version information and exit
Options (7)
OptionDescriptionSource
-d, --directory DIRplace temporary file in DIRhelp
-m, --mode MODEopen with MODE instead of 0600help
-n, --name FILEuse FILE instead of tempnam(3)help
-p, --prefix STRINGset temporary file's prefix to STRINGhelp
-s, --suffix STRINGset temporary file's suffix to STRINGhelp
--helpdisplay this help and exithelp
--versionoutput version information and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.