1*89aaa1bbSagc.\" $NetBSD: from.1,v 1.8 2003/08/07 11:13:49 agc Exp $ 27642736cSjtc.\" 37642736cSjtc.\" Copyright (c) 1980, 1990, 1993 47642736cSjtc.\" The Regents of the University of California. All rights reserved. 561f28255Scgd.\" 661f28255Scgd.\" Redistribution and use in source and binary forms, with or without 761f28255Scgd.\" modification, are permitted provided that the following conditions 861f28255Scgd.\" are met: 961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright 1061f28255Scgd.\" notice, this list of conditions and the following disclaimer. 1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright 1261f28255Scgd.\" notice, this list of conditions and the following disclaimer in the 1361f28255Scgd.\" documentation and/or other materials provided with the distribution. 14*89aaa1bbSagc.\" 3. Neither the name of the University nor the names of its contributors 1561f28255Scgd.\" may be used to endorse or promote products derived from this software 1661f28255Scgd.\" without specific prior written permission. 1761f28255Scgd.\" 1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2161f28255Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2861f28255Scgd.\" SUCH DAMAGE. 2961f28255Scgd.\" 307642736cSjtc.\" @(#)from.1 8.2 (Berkeley) 12/30/93 3161f28255Scgd.\" 327642736cSjtc.Dd December 30, 1993 3361f28255Scgd.Dt FROM 1 349e44e9b5Sgarbled.Os 3561f28255Scgd.Sh NAME 3661f28255Scgd.Nm from 3761f28255Scgd.Nd print names of those who have sent mail 3861f28255Scgd.Sh SYNOPSIS 39e207462dSlukem.Nm 4061f28255Scgd.Op Fl s Ar sender 4161f28255Scgd.Op Fl f Ar file 4261f28255Scgd.Op Ar user 4361f28255Scgd.Sh DESCRIPTION 44e207462dSlukem.Nm 4561f28255Scgdprints 4661f28255Scgdout the mail header lines from the invoker's mailbox. 4761f28255Scgd.Pp 4861f28255ScgdOptions: 4961f28255Scgd.Bl -tag -width Fl 5061f28255Scgd.It Fl f Ar file 5161f28255ScgdThe supplied file 5261f28255Scgdis examined instead of the invoker's mailbox. 5361f28255ScgdIf the 5461f28255Scgd.Fl f 5561f28255Scgdoption is used, the 5661f28255Scgd.Ar user 5761f28255Scgdargument should not be used. 5861f28255Scgd.It Fl s Ar sender 5961f28255ScgdOnly mail from addresses containing 6061f28255Scgdthe 6161f28255Scgdsupplied string are printed. 6261f28255Scgd.El 6361f28255Scgd.Pp 6461f28255ScgdIf 6561f28255Scgd.Ar user 6661f28255Scgdis given, the 6761f28255Scgd.Ar user Ns 's 6861f28255Scgdmailbox, is examined instead of the invoker's own mailbox. 697e06b2a1Sjtc(Privileges are required.) 7061f28255Scgd.Sh FILES 7161f28255Scgd.Bl -tag -width /var/mail/* -compact 7261f28255Scgd.It Pa /var/mail/* 7361f28255Scgd.El 7461f28255Scgd.Sh SEE ALSO 7561f28255Scgd.Xr biff 1 , 7661f28255Scgd.Xr mail 1 7761f28255Scgd.Sh HISTORY 7861f28255ScgdThe 79e207462dSlukem.Nm 8061f28255Scgdcommand appeared in 8161f28255Scgd.Bx 3.0 . 82