I heard about $TEMP and $TMP, but I think they are not standard for every distro.As far as I know, the best way to get the temp dir is just /tmp, is there any distro that won't work using that path?
Generic way to get temp path?
tmp