Determining the current mailbox or folder

Use the folder subcommand to determine the current mailbox or folder.

Although the mail command displays the name of the current mailbox when it starts, you might lose track of which mailbox you are in. At your mailbox prompt, you can use the folder subcommand shown in the following example:

Item Description
folder Finds the name of your current mailbox or folder.
If the current mailbox is /home/lance/mbox, the following is displayed:
/home/lance/mbox: 2 messages 1 deleted

This message indicates that /home/lance/mbox is the current mailbox you are in, it contains two messages, and one of those messages will be deleted when you finish with this mailbox.