centos7 whereis /bin/mail
# yum provides "/bin/mail" Loaded plugins: fastestmirror mailx-12.5-12.el7_0.x86_64 : Enhanced implementation of the mailx command Repo : base Matched from: Filename : /bin/mailyum -y install mailx
centos7 whereis /bin/mail
# yum provides "/bin/mail" Loaded plugins: fastestmirror mailx-12.5-12.el7_0.x86_64 : Enhanced implementation of the mailx command Repo : base Matched from: Filename : /bin/mailyum -y install mailx