why do we need mktemp?
===

I do not understand the function of mktemp and what a temporary file means. 

Whats the difference between say touch xyz and mktemp xyz (apart from the fact that mktemp will create some file with xxx appended to it and will have 600 permissions?)

Please clarify.

Thankyou