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