community man page
mktemp
Create a temporary file or directory.
Examples
Create an empty temporary file and print its absolute path GNU
Use a custom directory (defaults to `$TMPDIR`, or `/tmp`) GNU
Use a custom path template (`X`s are replaced with random alphanumeric characters) GNU
Use a custom file name template GNU
Create an empty temporary file with the given suffix and print its absolute path GNU
Create an empty temporary directory and print its absolute path GNU
Print the name of a temporary file or directory without actually creating it GNU
Create an empty temporary file and print its absolute path
Use a custom directory if `$TMPDIR` is not set (the default is platform-dependent, but usually `/tmp`)
Use a custom path template (`X`s are replaced with random alphanumeric characters)
Use a custom file name template
Create an empty temporary directory and print its absolute path