Jump to content

mktemp

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Monkbot (talk | contribs) at 13:23, 30 November 2020 (Task 18 (cosmetic): eval 4 templates: del empty params (1×);). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


mktemp is a command available in many Unix-like operating systems that creates a temporary file or directory.[1] Originally released in 1997 as part of OpenBSD 2.1,[2] a separate implementation exists as a part of GNU Coreutils.[3]

There used to be a similar named C library function, which is now deprecated for being unsafe, and has safer alternatives.[4]

References

  1. ^ "mktemp". Linux Standard Base Core Specification 3.1. Free Standards Group. Retrieved 7 November 2015.
  2. ^ Miller, Todd C. "mktemp manual page". Retrieved 7 November 2015.
  3. ^ Meyering, Jim (7 October 2007). "announce: new program: mktemp" (Mailing list). Retrieved 7 November 2015.
  4. ^ "Temporary Files". GNU. GNU. Retrieved 2 September 2019.

See also