Pratique pour l'écriture de script en bash lorsqu'on a besoin d'un fichier temporaire :
#Creation
tmpfile=$(mktemp)
#Utilisation...
#Clean
if [ -e "$tmpfile" ]
then
rm -f $tmpfile
fi
-
https://links.infomee.fr/?r6stZw