1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH WHO "1" "October 2021" "GNU coreutils 8.32" "User Commands"
.SH NAME
who \- show who is logged on
.SH SYNOPSIS
.B who
[\fI\,OPTION\/\fR]... [ \fI\,FILE | ARG1 ARG2 \/\fR]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print information about users who are currently logged in.
.TP
\fB\-a\fR, \fB\-\-all\fR
same as \fB\-b\fR \fB\-d\fR \fB\-\-login\fR \fB\-p\fR \fB\-r\fR \fB\-t\fR \fB\-T\fR \fB\-u\fR
.TP
\fB\-b\fR, \fB\-\-boot\fR
time of last system boot
.TP
\fB\-d\fR, \fB\-\-dead\fR
print dead processes
.TP
\fB\-H\fR, \fB\-\-heading\fR
print line of column headings
.TP
\fB\-l\fR, \fB\-\-login\fR
print system login processes
.TP
\fB\-\-lookup\fR
attempt to canonicalize hostnames via DNS
.TP
\fB\-m\fR
only hostname and user associated with stdin
.TP
\fB\-p\fR, \fB\-\-process\fR
print active processes spawned by init
.TP
\fB\-q\fR, \fB\-\-count\fR
all login names and number of users logged on
.TP
\fB\-r\fR, \fB\-\-runlevel\fR
print current runlevel
.TP
\fB\-s\fR, \fB\-\-short\fR
print only name, line, and time (default)
.TP
\fB\-t\fR, \fB\-\-time\fR
print last system clock change
.TP
\fB\-T\fR, \fB\-w\fR, \fB\-\-mesg\fR
add user's message status as +, \- or ?
.TP
\fB\-u\fR, \fB\-\-users\fR
list users logged in
.TP
\fB\-\-message\fR
same as \fB\-T\fR
.TP
\fB\-\-writable\fR
same as \fB\-T\fR
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
If FILE is not specified, use \fI\,/var/run/utmp\/\fP. \fI\,/var/log/wtmp\/\fP as FILE is common.
If ARG1 ARG2 given, \fB\-m\fR presumed: 'am i' or 'mom likes' are usual.
.SH AUTHOR
Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
Full documentation <https://www.gnu.org/software/coreutils/who>
.br
or available locally via: info \(aq(coreutils) who invocation\(aq
|