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}}"`