From a50427e89ff62cd969571588164fcd92a1c0d2b5 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 26 May 2017 10:28:13 +0100 Subject: [PATCH] mktemp.md: add page (#1393) --- pages/common/mktemp.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/mktemp.md diff --git a/pages/common/mktemp.md b/pages/common/mktemp.md new file mode 100644 index 000000000..ae419823b --- /dev/null +++ b/pages/common/mktemp.md @@ -0,0 +1,15 @@ +# mktemp + +> Create a temporary file or directory. + +- Create an empty temporary file and return the absolute path to it: + +`mktemp` + +- Create a temporary directory and return the absolute path to it: + +`mktemp --directory` + +- Create a temporary file with a specified suffix: + +`mktemp --suffix "{{.txt}}"`