Install And Configure LTSP Server In Ubuntu 12.04 with Dnsmasq

LibreOffice 4.0.4 Has Been Released. Install It On Ubuntu 13.04 , 13.10

Install Skype 4.2 in Ubuntu 13.10/13.04/12.10 and 12.04

Skype allows people to communicate with each other by messaging, voice calling and video calling over internet. Skype also provides services for phone calls on the telephone networks ....

Display Username On Unity Panel In Ubuntu 13.04 and Ubuntu 13.10

Showing posts with label Redhat. Show all posts

[Solved] -bash: mail: command not found in Redhat CentOS Amazon EC2


By default, Amazon EC2 has not prepacked with mail utilities. So whenever you tried to send a mail from command line, you will get an error message that says: -bash: mail: command not found. Its because of you don't have required mail packages.



Copy and paste the following command to install mailutils in Amzon EC2.
sudo yum install mailx

Now test it by sending a mail from command line.
echo "This will go into the body of the mail." | mail -s "Testing from EC2." you@example.com

Note: Change you@example.com to your email address.