Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

You have new mail

Status
Not open for further replies.

boebox

MIS
Oct 30, 2000
70
CA
How do you get rid of this anoying message, it is there after every thing I type.

Tony
 
Check your mail. At the command prompt type "mailx", it will list your mail messages, type the number of the message you want to read to read it, type "d (msg #)" to delete a message, type "d *" to delete all messages. :)
Jon Zimmer
jon.zimmer@pf.net
The software required `Windows 95 or better', so I installed Linux.

 
I want to know how to turn that off, so that it does not advise me that I have mail??

Tony
 
First backup your $HOME/.bash_profile by doing "cp .bash_profile .bash_profile.bak" then look in and edit your $HOME/.bash_profile by typing "vi .bash_profile" from your home directory. There should be a statement pertaining to mail where it says something like MAILMSG="You have mail" and something that says to echo $MAILMSG. Just comment out MAILMSG and "echo $MAILMSG" by putting a "#" before the command/statement. Then save the file by typing [esc] ":wq" and re-source your .bash_profile by typing ". ./.bash_profile" That should take care of the problem for you. Then RTFM.
Jon Zimmer
jon.zimmer@pf.net
The software required `Windows 95 or better', so I installed Linux.

 
Jon,

Thanks for the reply, it was actualy in /etc/profile.

Tony

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top