Fichier temporaire Linux Bash

temp_file=$(mktemp)
# do something with the file
rm ${temp_file}
Arno Deceuninck