Checking your personal mailbox or mail folder for mail

You can use the mail command to check your personal mailbox or mail folder for mail.

At your system command line prompt, you can use the mail command in the ways shown in the following steps:

  1. To display a listing of the messages in your personal mailbox, $HOME/mbox, enter:
    mail -f
    If there is no mail in your personal mailbox, the system responds with a message similar to the following:
    "/u/george/mbox": 0 messages
    or
    A file or directory in the path name does not exist
  2. To display a listing of the messages in the dept folder, enter:
    mail -f +dept
    If there is no mail in your mail folder, the system responds with a message similar to the following:
    A file or directory in the path name does not exist