Linux总提示“You have new mail in /var/spool/mail/root”

Linux总是出现“You have new mail in /var/spool/mail/root”,很烦人,如何禁止掉呢?


修改系统配置文件,告诉系统不要去检查邮箱  

操作:[root@localhost ~]#echo "unset MAILCHECK">> /etc/profile

其实就是把unset MAILCHECK加到文件/etc/profile 的尾部即可,然后重新登陆控制台就没有这个讨厌的提醒了。

猜你喜欢

转载自blog.csdn.net/hui_yong/article/details/47947125