---

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.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis