FROM(1) BSD General Commands Manual FROM(1)
from - print names of those who have sent mail
from [-c] [-s sender] [-f file] [user]
The from utility prints out the mail header lines from the invokers
The following options are available:
-c Just print a count of messages and exit.
The supplied file is examined instead of the invokers mailbox.
If the -f option is used, the user argument should not be used.
Read from standard input if file name - is given.
Only mail from addresses containing the supplied string are
If user is given, the users mailbox is examined instead of the invokers
own mailbox. (Privileges are required.)
MAIL If set, the location of the invokers mailbox. Otherwise,
the default in /var/mail is used.
The from command appeared in 3.0BSD.
BSD December 30, 1993 BSD