[Memo] Envoyer un mail avec mutt en ligne de commande
21 Octobre 2009 10:41 | Par Miss Lemon dans Linux

Etant donné que je ne me rappelle jamais, voici un petit mémo
mutt -a PIECE_JOINTE -s "SUJET" EMAIL_DESTINATAIRE < FICHER_AVEC_CORPS_DU_MSG

mutt -a PIECE_JOINTE -s "SUJET" EMAIL_DESTINATAIRE < FICHER_AVEC_CORPS_DU_MSG

df -H | grep -vE '^[a-zA-Z]|tmpfs|cdrom|udev' | awk '{ print $5 " " $1 }'
Cette commande liste les partitions et ne ressort que la capacité utilisée en pourcentage.