from(1) — Commands
NAME
from − Shows whom mail messages are from
SYNOPSIS
from [−s sender] [user]
The from command prints out the mail header lines in your mailbox file.
OPTIONS
−s sender
Prints headers for mail sent by sender.
−d directory
Specifies a mail spool directory.
Use this flag if you want to examine a mailbox in a directory other than /usr/spool/mail, which is the system default.
DESCRIPTION
If user is specified, then user’s mailbox is examined instead of your own.
EXAMPLES
1.To display the message headings in your mailbox, enter:
from
The names of the senders and the message dates are displayed.
2.To display the message headings for mail sent by a specific user, enter:
from −s dale
Displays only the message headings of the messages sent from user dale.
3.To display the message headings in a specific user’s mailbox, enter:
from dawn
The message headings from user dawn’s mailbox are displayed, provided you have read permission for dawn’s mailbox.
FILES
/var/spool/mail/∗
User mailbox files.