Download - Install mail Command Linux

Transcript
Page 1: Install mail Command Linux

Install Mail Command – CentOS 7

Overview

Minimal install on most Linux operating system, mail command doesn’t work, it is necessary to install mail packages.

Applies To

CentOS 7, RHEL 7.x

Install package

yum install -y mailx

Page 2: Install mail Command Linux

Install Mail Command – CentOS 7

Test Sending Email

echo "Test E-Mail" | mail -s "Test Mail" [email protected]

Verify Email Sent

tail /var/log/maillog