Answers for "bash mail subject variable"

0

bash mail subject variable

subj="hello from $(hostname -s) $(date)" 
echo "data" | mail -s $subj mail@mail
Posted by: Guest on October-12-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language