The standard Unix command who displays a list of users who are currently logged into the computer. The who command is related to the command , which provides the same information but also displays additional data and statistics. History A command that displays the names of users logged in was first implemented within Multics. Later, it appeared in Version 1 Unix and became part of the X/Open Portability Guide since issue 2 of 1987. It was inherited into the first version of POSIX.1 and the Single Unix Specification. The version of who bundled in GNU coreutils was written by Joseph Arceneaux, David MacKenzie, and Michael Stone. Specification The Single UNIX Specification (SUS) specifies that who should list information about accessible users. The XSI extension also specifies that the data of the username, terminal, login time, process ID, and time since last activity occurred on the terminal, furthermore, an alternate system database used for user information can be specified as an optional argument to . The command can be invoked with the arguments am i or am I (so it is invoked as who am i or who am I), showing information about the current terminal only (see the command and the -m option below, of which this invocation is equivalent). Usage The SUS without extensions only specifies the following -m, -T, and -u options, all other options are specified in the XSI extension. -a, process the system database used for user information with the -b, -d, -l, -p, -r, -t, -T and -u. -b, show time when system was last rebooted -d, show zombie processes and details -H, show column headers -l, show terminals where a user can log in -m, show information about the current terminal only -p, show active processes -q, quick format, show only names and the number of all users logged on, disables all other options; equivalent to users command line utility -r, show runlevel of the init process. -s, (default) show only name, terminal, and time details -t, show when system clock was last changed -T, show details of each terminal in a standard format (see note in Examples section) -u, show idle time; XSI shows users logged in and displays information whether the terminal has been used recently or not Other Unix and Unix-like operating systems may add extra options. GNU includes a -i option behaving similarly to -u and a -w option displaying