Linux总是提示:you hava a new mail

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux总是提示:you hava a new mail相关的知识,希望对你有一定的参考价值。

root用户:

#echo "unset MAILCHECK" >> /etc/profile

把unset MAILCHECK加到文件/etc/profile 的尾部

如下所示:
unset MAILCHECK
HISTTIMEFORMAT="%F %T whoami "
export TMOUT=300
export LC_ALL="zh_CN.GBK"
export LANG="zh_CN.GBK"
技术分享图片

以上是关于Linux总是提示:you hava a new mail的主要内容,如果未能解决你的问题,请参考以下文章

关闭CentOS6下“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)

解决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提示怎么回事?