Linux有时会出现“You have new mail in /var/spool/mail/root”,很烦人,如何禁止掉呢?
需要修改系统配置文件,告诉系统不要去检查邮箱
[root@localhost ~]#echo "unset MAILCHECK">> /etc/profile
其实就是把unset MAILCHECK加到文件/etc/profile 的尾部即可
然后 # source /etc/profile 就没有这个提醒了。
禁用Linux邮件提醒:修改/etc/profile实现
本文介绍如何通过编辑Linux系统配置文件/etc/profile来禁止出现“You have new mail in /var/spool/mail/root”的提示,从而解决邮件提醒问题。
9014

被折叠的 条评论
为什么被折叠?