mktemp

The purpose of this document is to describe how to use the mktemp program.

  • tmpdir="/tmp"; suff="filesuffix"; template="filename.XXXXXXXXXX"

  • mktemp --tmpdir="$tmpdir" --suffix="$suff" "$template"

[Edit]