---

The mktemp Command Tutorial With Examples For Beginners

The mktemp command creates a temporary file or directory safely and prints its name. All files and directories will be saved in the system’s temporary directory, i.e /tmp.