Jump to content

mktemp

From Wikipedia, the free encyclopedia
mktemp
Developer(s)Todd Miller, Jim Meyering
Initial release1997; 27 years ago (1997)
Written inC
Operating systemUnix and Unix-like
PlatformCross-platform
TypeCommand

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]

See also

[edit]

References

[edit]
  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.