1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/mktemp.md
2017-05-26 10:28:13 +01:00

302 B

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