mktemp
Create a temporary file or directory. More information: https://www.gnu.org/software/autogen/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 --directory
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.