mktemp(1)
β¨ NAME β¨
mktemp β bestie, it creates a temporary file or directory for you π (manual section 1, General Commands Manual, in case you were wondering which mktemp you're talking to)
πΈ SYNOPSIS πΈ
mktemp [-d|--directory] [-u|--dry-run] [-q|--quiet] [--suffix] [-p ]
[--tmpdir] [-t ] [-h|--help] [-V|--version] [template]
π¦ DESCRIPTION π¦
Okay so. Create a temporary file or directory. That's the whole gig. It's giving "I just need somewhere safe to put this for a sec" and honestly? Iconic. π
π OPTIONS π
-d,--directoryβ make a directory instead of a file. Same energy, but it's a lil folder now π-u,--dry-runβ do not create anything; merely print a name. > β οΈ This one is unsafe, no cap β it hands you a name and creates nothing, so like, someone else could totally snatch it. Read the label bestie π₯-q,--quietβ fail silently if an error occurs. No drama, no message, just vibes π«Ά--suffix <SUFFIX>β append SUFFIX to TEMPLATE; SUFFIX must not contain a path separator. And heads up: this option is implied if TEMPLATE does not end withXβ¨-p <DIR>β short form of--tmpdir. That's it, that's the whole bullet π--tmpdir[=<DIR>]β interpret TEMPLATE relative to DIR; if DIR is not specified, use$TMPDIR($TMPon windows) if set, else/tmp. With this option, TEMPLATE must not be an absolute name; unlike with-t, TEMPLATE may contain slashes, butmktempcreates only the final component π-tβ generate a template (using the supplied prefix andTMPDIR(TMPon windows) if set) to create a filename template. > π¨ Marked [deprecated], so like... it still works, but it's giving "we don't do that anymore" π-h,--helpβ print help π§-V,--versionβ print version β[template]β yeah, it's the template. Listed right here with the options, periodt π
π« VERSION π«
v(uutils coreutils) 0.7.0
okay that's the whole page, mwah π This lil masterpiece is from mktemp (uutils coreutils) 0.7.0 β yes, the uutils coreutils 0.7.0 era, and no, I will not stop talking about it. Go make some temp files, bestie, you got this ππ¦πΈ
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms