1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:42:07 +02:00
tldr/pages/common/mktemp.md
2019-06-04 16:29:40 -03:00

16 lines
365 B
Markdown

# mktemp
> Create a temporary file or directory.
> More information: <https://www.gnu.org/software/autogen/mktemp.html>.
- 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 -d`
- Create a temporary file with a specified suffix:
`mktemp --suffix "{{.txt}}"`