mirror of https://github.com/CrimsonTome/tldr.git
16 lines
302 B
Markdown
16 lines
302 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 --directory`
|
||
|
|
||
|
- Create a temporary file with a specified suffix:
|
||
|
|
||
|
`mktemp --suffix "{{.txt}}"`
|