1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:02:08 +02:00
tldr/pages/common/mktemp.md
Guillaume Ongenae 8193af1c35 mktemp: correct option -d
Closes #1836
2017-12-27 17:27:44 +05:30

15 lines
293 B
Markdown

# 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 -d`
- Create a temporary file with a specified suffix:
`mktemp --suffix "{{.txt}}"`