登录站点

用户名

密码

you have new mail

1已有 1070 次阅读  2010-10-07 15:47   标签you  have  new  mail 
 
 
写在前面的话->:以下解决方法来源网络
去掉linux中"You have new mail in /var/spool/mail/root"的提示
去掉linux中"You have new mail in /var/spool/mail/root"的提示:
我们在用命令行操作linux的时候经常会出现You have new mail in /var/spool/mail/root的提示,很不爽,而且/var/spool/mail/root这个文件越来越大,占用系统资源.有没有办法屏蔽这个提示呢?答案的肯定的.下面介绍一种方法.
需要修改系统配置文件/etc/profile,告诉系统不要去检查邮箱.
[root@localhost ~]#echo "unset MAILCHECK" >> /etc/profile
其实就是把unset MAILCHECK加到文件/etc/profile 的尾部即可
然后重新登陆控制台就没有这个讨厌的提示了。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/97375/showart_2183492.html
 

上一篇: VIVI 源码的目录结构分析 下一篇: (vmare中)redhat linux图形界面切换到字符界面

分享 举报

发表评论 评论 (1 个评论)

涂鸦板