瀏覽代碼

mktemp.md: add page (#1393)

Starbeamrainbowlabs 7 年之前
父節點
當前提交
a50427e89f
共有 1 個文件被更改,包括 15 次插入0 次删除
  1. 15 0
      pages/common/mktemp.md

+ 15 - 0
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}}"`