Line | |
---|
1 | .TH WHO 1
|
---|
2 | .SH NAME
|
---|
3 | who \- print list of currently logged in users
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBwho\fR [\fIfile\fR]\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH EXAMPLES
|
---|
18 | .EX "who " "Print user names, terminals and times"
|
---|
19 | .SH DESCRIPTION
|
---|
20 | .PP
|
---|
21 | \fIWho\fR prints a list of currently logged in users. For each one,
|
---|
22 | the user name, terminal, and login time is printed.
|
---|
23 | This program gets its information from the file \fI/etc/utmp\fR, which
|
---|
24 | is updated by init and login.
|
---|
25 | If the file does not exist, neither of these will create it, and
|
---|
26 | \fIwho\fR will not work. Note that if you decide to create an empty
|
---|
27 | \fI/usr/adm/wtmp\fR to enable the login accounting, it will grow forever and
|
---|
28 | eventually fill up your disk unless you manually truncate it from time to time.
|
---|
29 | If an optional file name is provided, the logins in that file will be printed.
|
---|
30 | .SH "SEE ALSO"
|
---|
31 | .BR utmp (5).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.