Install mail CLI Command Using yum on Linux

To install the “mail” CLI command on Linux using yum just install mailx using the command below.

[root@server ~]# yum install mailx

After installing this package you will be able to send mail using the Linux CLI command mail.

Share