variable de asunto de correo 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