4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:tweetit tag:mktemp — newest first
  • mktemp

    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

    March 19, 2014 - permalink - https://links.infomee.fr/shaare/r6stZw
    bash mktemp tmp tweetit