181 lines
2.3 KiB
HTML
181 lines
2.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of FROM</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>FROM</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
<BR>BSD mandoc<BR>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
|
|
|
|
<B>from</B>
|
|
|
|
- print names of those who have sent mail
|
|
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B></B>
|
|
|
|
|
|
[-<B>c</B>
|
|
|
|
]
|
|
|
|
[-<B>f </B><I>file</I>
|
|
|
|
|
|
|
|
]
|
|
|
|
[-<B>s </B><I>sender</I>
|
|
|
|
|
|
|
|
]
|
|
|
|
[<I>user</I>
|
|
|
|
]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B></B>
|
|
|
|
|
|
utility prints
|
|
out the mail header lines from the invoker's mailbox.
|
|
<P>
|
|
|
|
The following options are available:
|
|
<DL COMPACT>
|
|
<P>
|
|
|
|
<DT id="1"><B>-c</B>
|
|
|
|
|
|
<DD>
|
|
Just print a count of messages and exit.
|
|
<DT id="2"><B>-f </B><I>file</I>
|
|
|
|
|
|
|
|
|
|
<DD>
|
|
The supplied
|
|
<I>file</I>
|
|
|
|
is examined instead of the invoker's mailbox.
|
|
If the
|
|
-<B>f</B>
|
|
|
|
option is used, the
|
|
<I>user</I>
|
|
|
|
argument should not be used.
|
|
Read from standard input if file name
|
|
``-
|
|
|
|
''
|
|
|
|
is given.
|
|
<DT id="3"><B>-s </B><I>sender</I>
|
|
|
|
|
|
|
|
|
|
<DD>
|
|
Only mail from addresses containing
|
|
the
|
|
supplied string are printed.
|
|
</DL>
|
|
<P>
|
|
|
|
<P>
|
|
|
|
If
|
|
<I>user</I>
|
|
|
|
is given, the
|
|
<I>user </I><B>'s</B>
|
|
|
|
|
|
|
|
mailbox is examined instead of the invoker's own mailbox.
|
|
(Privileges are required.)
|
|
<A NAME="lbAE"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
<DL COMPACT>
|
|
<P>
|
|
|
|
<DT id="4"><B>MAIL</B>
|
|
|
|
|
|
<DD>
|
|
If set, the location of the invoker's mailbox.
|
|
Otherwise, the default in
|
|
/var/mail
|
|
|
|
is used.
|
|
</DL>
|
|
<P>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<P>
|
|
|
|
<DT id="5"><B>/var/mail/*
|
|
|
|
</B>
|
|
<DD>
|
|
</DL>
|
|
<P>
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+biff">biff</A>(1),
|
|
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+mail">mail</A>(1)
|
|
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>HISTORY</H2>
|
|
|
|
The
|
|
<B></B>
|
|
|
|
|
|
command appeared in
|
|
BSD 3.0
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="7"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="8"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="9"><A HREF="#lbAE">ENVIRONMENT</A><DD>
|
|
<DT id="10"><A HREF="#lbAF">FILES</A><DD>
|
|
<DT id="11"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
<DT id="12"><A HREF="#lbAH">HISTORY</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:08 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|