mktemp
Create a temporary file or directory.
- 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 --directory
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).