Linux有时会出现“You have new mail in /var/spool/mail/root”,很烦人,如何禁止掉呢?
需要修改系统配置文件,告诉系统不要去检查邮箱
[root@localhost ~]#echo "unset MAILCHECK">> /etc/profile
其实就是把unset MAILCHECK加到文件/etc/profile 的尾部即可
然后 # source /etc/profile 就没有这个提醒了。
转自:http://huyuedong.blog.51cto.com/4705586/1100026