Move everything from /var/adm to /var/log
[unleashed.git] / share / man / man1 / users.1
blob3fe307be8692ce1dd1d224a3a5110b04ec95f1d5
1 '\" te
2 .\" Copyright (c) 1998, Sun Microsystems, Inc.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH USERS 1 "Nov 16, 1998"
7 .SH NAME
8 users \- display a compact list of users logged in
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/bin/users\fR [\fIfilename\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBusers\fR utility lists the login names of the users currently on the
19 system in a compact, one-line format.
20 .sp
21 .LP
22 Specifying \fIfilename\fR tells \fBusers\fR where to find its information; by
23 default it checks \fB/var/log/utmpx\fR.
24 .sp
25 .LP
26 Typing \fBusers\fR is equivalent to typing \fBwho\fR \fB-q\fR.
27 .SH EXAMPLES
28 .LP
29 \fBExample 1 \fRListing current users
30 .sp
31 .in +2
32 .nf
33 example% \fBusers
34 paul george ringo\fR
35 .fi
36 .in -2
37 .sp
39 .SH FILES
40 .sp
41 .ne 2
42 .na
43 \fB\fB/var/log/utmpx\fR\fR
44 .ad
45 .RS 18n
47 .RE
49 .SH SEE ALSO
50 .sp
51 .LP
52 \fBwho\fR(1), \fBattributes\fR(5)