xref: /original-bsd/usr.bin/from/from.1 (revision 612877e1)
1.\" Copyright (c) 1980, 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)from.1	8.2 (Berkeley) 12/30/93
7.\"
8.Dd
9.Dt FROM 1
10.Os BSD 4
11.Sh NAME
12.Nm from
13.Nd print names of those who have sent mail
14.Sh SYNOPSIS
15.Nm from
16.Op Fl s Ar sender
17.Op Fl f Ar file
18.Op Ar user
19.Sh DESCRIPTION
20.Nm From
21prints
22out the mail header lines from the invoker's mailbox.
23.Pp
24Options:
25.Bl -tag -width Fl
26.It Fl f Ar file
27The supplied file
28is examined instead of the invoker's mailbox.
29If the
30.Fl f
31option is used, the
32.Ar user
33argument should not be used.
34.It Fl s Ar sender
35Only mail from addresses containing
36the
37supplied string are printed.
38.El
39.Pp
40If
41.Ar user
42is given, the
43.Ar user Ns 's
44mailbox, is examined instead of the invoker's own mailbox.
45(Privileges are required.)
46.Sh FILES
47.Bl -tag -width /var/mail/* -compact
48.It Pa /var/mail/*
49.El
50.Sh SEE ALSO
51.Xr biff 1 ,
52.Xr mail 1
53.Sh HISTORY
54The
55.Nm from
56command appeared in
57.Bx 3.0 .
58