mktemp: add page (#7893)

This commit is contained in:
Emily Grace Seville
2022-03-17 03:02:09 +10:00
committed by GitHub
parent c23e529ad2
commit 3f6f191892
2 changed files with 18 additions and 2 deletions

16
pages/linux/mktemp.md Normal file
View File

@@ -0,0 +1,16 @@
# mktemp
> Create a temporary file or directory.
> More information: <https://www.gnu.org/software/autogen/mktemp.html>.
- Create an empty temporary file and print the absolute path to it:
`mktemp`
- Create an empty temporary file with a given suffix and print the absolute path to file:
`mktemp --suffix "{{.ext}}"`
- Create a temporary directory and print the absolute path to it:
`mktemp --directory`