Variable du sujet du courrier bash
subj="hello from $(hostname -s) $(date)"
echo "data" | mail -s $subj mail@mail
Perro Fiel
subj="hello from $(hostname -s) $(date)"
echo "data" | mail -s $subj mail@mail