Quantcast
Viewing latest article 6
Browse Latest Browse All 6

Install bash mail command CentOS RHEL or Fedora

How to install the bash mail command on CentOS, RHEL or Fedora, this is handy for sending mail from the command line:

cat /some/file | mail youraddress@yourdomain.com

If you don’t have the mail command installed you will get the following error:

-bash: mail: command not found

Install mail command CentOS

To install the bash mail program on CentOS, RHEL or Fedora type the following:

 yum install mailx

***note on RHEL system you will require a Redhat Network (RHN) Self-Support contract to apply updates via YUM.

Any questions drop me a comment and don’t forget to follow TechSpotting on Twitter and subscribe via FeedBurner

Technorati Tags: Bash, CentOS, Command Line, fedora, HowTo, Linux, Mail, RHEL


Viewing latest article 6
Browse Latest Browse All 6

Trending Articles