MKTEMP(1)
π MKTEMP(1) π
okay so welcome to the mktemp(1) page, straight from the General Commands Manual β sheβs the one who makes temporary files and directories, and weβre gonna read the whole thing together, no skips, periodt β¨
πΈ NAME πΈ
mktempβ creates a temporary file or directory. thatβs the name and the whole assignment bestie π
β¨ SYNOPSIS β¨
mktemp [OPTION]... [TEMPLATE]
π DESCRIPTION π
okay so mktemp creates a temporary file or directory. literally thatβs the description, and honestly? iconic. π¦
π OPTIONS π
-d,--directoryβ makes a directory instead of a file. slay π-u,--dry-runβ does not create anything; it merely prints a name. this one is unsafe, so keep that in mind bestie π-q,--quietβ fails silently if an error occurs. no yelling, just quiet failure energy.--suffix <SUFFIX>β appendsSUFFIXtoTEMPLATE.SUFFIXmust not contain a path separator. this option is implied ifTEMPLATEdoes not end withX.-p <DIR>β short form of--tmpdir. cute lil abbreviation π«Ά--tmpdir[=<DIR>]β interpretsTEMPLATErelative toDIR; ifDIRis not specified, use$TMPDIR($TMPon windows) if set, else/tmp. with this option,TEMPLATEmust not be an absolute name; unlike with-t,TEMPLATEmay contain slashes, butmktempcreates only the final component. very specific, very demure β¨-tβ generates a template (using the supplied prefix andTMPDIR(TMPon windows) if set) to create a filename template. [deprecated] β sheβs old-school, okay? π-h,--helpβ prints help. the classic.-V,--versionβ prints version. another classic.[template]
π VERSION π
version check bestie: v(uutils coreutils) 0.12.0 π
mwah π stay temporary, stay iconic β source/version: v(uutils coreutils) 0.12.0, date: 2026-09-17 π
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms