mktemp(1)

πŸ“¦
version 0.7.0 Β· 3 versions
, in epel 10, fedora 43, fedora 44

✨ 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 with X ✨
  • -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 ($TMP on windows) if set, else /tmp. With this option, TEMPLATE must not be an absolute name; unlike with -t, TEMPLATE may contain slashes, but mktemp creates only the final component πŸ‘‘
  • -t β€” generate a template (using the supplied prefix and TMPDIR (TMP on 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