CentOS提示You have mail in /var/spool/mail解决方法
Linux有时会出现“You have new mail in /var/spool/mail/root”,很烦人,如何禁止掉呢?
需要修改系统配置文件,告诉系统不要去检查邮箱
echo "unset MAILCHECK">> /etc/profile
其实就是把unset MAILCHECK加到文件/etc/profile 的尾部即可
然后 # source /etc/profile 就没有这个提醒了。