All apps/who

who

who

Display who is logged in.

Runs as who|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 1 subcommand · 13 options
Published once and never changed; check the digest before caching
sha256
73d89ef87ffa5dbae09297903793cf6637ece662a081ff3160315211d5633910
Size
2325 bytes
Subcommands1 subcommand
who am
Returns the invoker's real user name
OptionsOn who itself
-a
Same as -bdlprTtu
-b
Time of last system boot
-d
Print dead processes
-H
Write column headings above the regular output
-l
Print system login processes (unsupported)
-m
Only print information about the current terminal
-p
Print active processes spawned by launchd(8) (unsupported)
-q
'Quick mode': List only names and number of users currently logged on
-r
Print the current runlevel
-s
List only the name, line and time fields (this is the default)
-T
Print a character after the user name indicating the state of the terminal line: '+' writable, '-' not writable, '?' bad
-t
Print last system clock change (unsupported)
-u
Print the idle time for each user and the associated process ID
ArgumentsPositional, in order
<file>
By default, who gathers information from the file /var/run/utmpx; an alternative file may be specified · optional · filepaths