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

Posted blackcatfish

tags:

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

echo"UNSET  EMAILCHECK">>/etc/profile

soure /etc/profile

查看
ls -lth  /var/spool/mail/

清空:
cat /dev/null > /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系统时经常出现You have new mail in /var/spool/mail/root提示怎么回事?

关闭CentOS6下“You have new mail in /var/spool/mail/root”的提示

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