Files
tldr/pages/common/mktemp.md
Emily Grace Seville 3f6f191892 mktemp: add page (#7893)
2022-03-16 14:02:09 -03:00

17 lines
386 B
Markdown

# mktemp
> Create a temporary file or directory.
> More information: <https://ss64.com/osx/mktemp.html>.
- Create an empty temporary file and print the absolute path to it:
`mktemp`
- Create an empty temporary file with a given suffix and print the absolute path to file:
`mktemp --suffix "{{.ext}}"`
- Create a temporary directory and print the absolute path to it:
`mktemp -d`