mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 20:35:26 +02:00
mktemp.md: add page (#1393)
This commit is contained in:
parent
57a982446a
commit
a50427e89f
1 changed files with 15 additions and 0 deletions
15
pages/common/mktemp.md
Normal file
15
pages/common/mktemp.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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}}"`
|
Loading…
Add table
Reference in a new issue