[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how do I get the "you have new mail"

    "Jake" == Jake Johnson <plutoid@plutoid.com> writes:

    Jake> How do I get the message to say you have new mail at the
    Jake> shell prompt?  Is someting looking for a specific directory
    Jake> or file?

$ echo $MAILCHECK 
$ man bash

and look for MAIL, MAILCHECK and MAILPATH variables.

Of course this works for bash (another poster has already pointed out
biff to you, give it a shot too). Most "modern" shells have similar
functions (for csh I believe the variable is mail).


Reply to: