问题原因: 如何取消CentOS命令后每次会出现的『You have new mail in /var/spool/mail/root』提示? 解决方案: echo "unset MAILCHECK" >> /etc/profile source /etc/profile