variável de assunto do correio 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