• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

Remove "You have new mail" message

How can I remove the "You have new mail." text that
appears when I run a command in a shell? I don't have root access to the system, so if it exists a solution for any user, I would really like to hear it. Any suggestions appreciated. Thanks!
0
friberg
Asked:
friberg
  • 2
1 Solution
 
ahoffmannCommented:
unset mail
unset periodic
0
 
naccadCommented:
Actually, that should be

unset MAILCHECK

tc
-nick
0
 
ahoffmannCommented:
may depend on shell :)
friberg, which shell are you using?
0
 
fribergAuthor Commented:
Thanks!
I'm using t shell, so I put these two lines in ~/.tcshrc and it worked fine.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now