working of mail command in Ubuntu Linux
prerequisites: sudo apt-get install mailutils, sudo apt-get install postfix
Command format: echo "Message Body" | mail -s "Message Subject" receiver@domain
example: echo "hello sir, please send the semester report file as soon as possible. Thanks - nagesh" | mail -s "request for report " nagesh@nagesh