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.
To install the “mail” CLI command on Linux using yum just install mailx using the command below.
After installing this package you will be able to send mail using the Linux CLI command mail.
Thanks man, some times even the simplest of things get forgotten. Really didnt feel like installing sendmail.
Cheers
Ben
Hello Ben,
No problem at all. One of the reasons we write these articles is for reference for ourselves… :) Thanks for taking the time to leave feedback.
Thanks.
alex
Thanks I didn’t want to install sendmail either
:D
Mauricio
Hello Mauricio,
No problem. Thanks for taking the time to leave feedback.
Thanks.
alex
Perfect. Thank you for the pointer!
Hello Patrick,
No problem. Thanks for posting feedback.
Thanks.
alex