Index of Section 1 Manual Pages
| Interix / SUA | from.1 | Interix / SUA |
FROM(1) System General Commands Manual FROM(1)
NAME
from - print names of those who have sent mail
SYNOPSIS
from [-s sender] [-f file] [-FS] [user]
DESCRIPTION
from prints out the mail header lines from the invoker's mailbox.
The options are as follows:
-f file
The supplied file is examined instead of the invoker's mailbox.
If the -f option is used, the user argument should not be used.
-F Print out the "From: " line instead of the "From " line. This can
result in different information being presented.
-s sender
Only mail from addresses containing the supplied string are
printed.
-S Display the subject of each message indented.
If user is given, the user's mailbox, is examined instead of the
invoker's own mailbox. (Privileges are required.)
On Interix systems the mailbox is alwaysa combination of the domainname
and the username to reduce conflict. However, from will check the name
exactly specified with USER before attempting the mailbox with "domain-
name+" prefixed to USER.
ENVIRONMENT VARIABLES
Value used as the username of the mailbox to examine. Only used if no
file specified and MAIL environment variable not set. Filename to exam-
ine as a mailbox.
FILES
/var/mail/*
SEE ALSO
biff(1), mail(1)
HISTORY
The from command appeared in 3.0BSD.
BSD May 31, 2004 BSD