在Linux的操作中,有的时候每敲一下回车,就出来You have new mail in /var/spool/mail/root的提示,烦躁得很!

最直接的方式是关闭sendmail服务,这里介绍一种不用关闭sendmail服务的方法

echo "unset MAILCHECK" >> /etc/profile

然后source /etc/profile

怎么样?  够简单吧!