Temporary files and directories are very important: they can be used from shell scripts for example, to store information which are necessary to complete some tasks and can be safely removed once the work is done. In this tutorial we will see how to safely create temporary files and directories using the mktemp
utility on Linux.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-create-temporary-files-using-mktemp-on-linux