Written by georg
on November 29, 2016
#!/bin/bash TMPFILE1=$(mktemp /tmp/im1.XXXXXX) TMPFILE2=$(mktemp /tmp/im2.XXXXXX) trap "rm -f $TMPFILE1 $TMPFILE2; exit 1" INT sleep 10
Frei nach How Linux Works, S. 264
#!/bin/bash TMPFILE1=$(mktemp /tmp/im1.XXXXXX) TMPFILE2=$(mktemp /tmp/im2.XXXXXX) trap "rm -f $TMPFILE1 $TMPFILE2; exit 1" INT sleep 10
Frei nach How Linux Works, S. 264
Schreibe einen Kommentar