CreateTemporary
CreateTemporary[] creates a temporary file with a unique name in the default temporary directory and returns the name of the file.
Examples
Create a temporary file:
CreateTemporary[]
(* "/tmp/m000001234567" *)Please visit the official Wolfram Language Reference for more details.