File: who.1

package info (click to toggle)
coreutils 9.10-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 70,560 kB
  • sloc: ansic: 253,546; sh: 30,931; perl: 8,141; yacc: 1,846; makefile: 198; python: 47; sed: 16
file content (88 lines) | stat: -rw-r--r-- 4,060 bytes parent folder | download
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
85
86
87
88
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.50.1.
.TH WHO "1" "February 2026" "GNU coreutils 9.10" "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
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-a'\fB\-a, \-\-all\fP\X'tty: link'
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
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-b'\fB\-b, \-\-boot\fP\X'tty: link'
time of last system boot
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-d'\fB\-d, \-\-dead\fP\X'tty: link'
print dead processes
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-H'\fB\-H, \-\-heading\fP\X'tty: link'
print line of column headings
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-l'\fB\-l, \-\-login\fP\X'tty: link'
print system login processes
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who--lookup'\fB\-\-lookup\fP\X'tty: link'
attempt to canonicalize hostnames via DNS
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-m'\fB\-m\fP\X'tty: link'
only hostname and user associated with standard input
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-p'\fB\-p, \-\-process\fP\X'tty: link'
print active processes spawned by init
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-q'\fB\-q, \-\-count\fP\X'tty: link'
all login names and number of users logged on
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-r'\fB\-r, \-\-runlevel\fP\X'tty: link'
print current runlevel
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-s'\fB\-s, \-\-short\fP\X'tty: link'
print only name, line, and time (default)
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-t'\fB\-t, \-\-time\fP\X'tty: link'
print last system clock change
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-T'\fB\-T, \-w, \-\-mesg\fP\X'tty: link'
add user's message status as +, \- or ?
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who-u'\fB\-u, \-\-users\fP\X'tty: link'
list users logged in, including idle time
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who--message'\fB\-\-message\fP\X'tty: link'
same as \fB\-T\fR
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#who--writable'\fB\-\-writable\fP\X'tty: link'
same as \fB\-T\fR
.TP
\X'tty: link https://www.gnu.org/software/coreutils/who#who--help'\fB\-\-help\fP\X'tty: link'
display this help and exit
.TP
\X'tty: link https://www.gnu.org/software/coreutils/who#who--version'\fB\-\-version\fP\X'tty: link'
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"
Report bugs to: bug\-coreutils@gnu.org
.br
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
.br
General help using GNU software: <https://www.gnu.org/gethelp/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2026 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