You have new mail in /var/spool/mail/root

Posted Dapeng-W

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了You have new mail in /var/spool/mail/root相关的知识,希望对你有一定的参考价值。

ssh远程登陆到某台机器后,终端经常出现You have new mail in /var/spool/mail/root的提示信息。

在不经常查看系统自动生成的邮件或是想查看的时候使用命令查看时,

可停用邮件自动提示:

echo "unset MAILCHECK" >> /etc/profile
然后
source /etc/profile 或 reboot
 

以上是关于You have new mail in /var/spool/mail/root的主要内容,如果未能解决你的问题,请参考以下文章

禁止Centos系统You have new mail in /var/spool/mail/root提示

Centos中提示You have new mail in /var/spool/mail/root 解决

解决Centos关闭You have new mail in /var/spool/mail/root提示(转)

解决Centos关闭You have new mail in /var/spool/mail/root提示(转)

Centos 7 如何关闭提示(You have new mail in /var/spool/mail/root)

Centos 7 如何关闭提示(You have new mail in /var/spool/mail/root)