有些Linux系统安装的时候为了节约资源采取最小化安装的方式,缺少了一些常用的命令。如:找不到mail命令。
解决方法:
[root@linuxso.com ~]yum search mail #发现有一行: mailx.i386 : The /bin/mail program for sending e-mail messages. [root@linuxso.com ~]yum install mailx -y
直接安装mailx包即可。
转载于:https://blog.51cto.com/nanchunle/1643788