By default in linux you get a message saying something like
You have new mail in
when you log into a linux machine.
Sometimes this gets annoying because you always have new mail, or because there seems to be a delay while checking the mail or because the mail is actually stored on some kind of remote disk.
Disabling this setting is easy. Simply include
in your .bashrc file (for login shell) or .bash_profile (for non-login shells, i.e. ssh) and the message shouldn’t appear.
For me it speeds up login for my linux server and removes clutter.
I got this from:
There is also a more detailed explanation that I found here:
This page explans the difference between .bashrc and .bash_profile: