解决Linux系统中出现You have new mail in /var/spool/mail/root的问题
依次运行以下命令: echo "unset MAILCHECK">> /etc/profile source /etc/profile ls -lth /var/spool/mail/ cat /dev/null > /var/spool/mail/root 完成。
依次运行以下命令: echo "unset MAILCHECK">> /etc/profile source /etc/profile ls -lth /var/spool/mail/ cat /dev/null > /var/spool/mail/root 完成。