OS Manuals

/usr/bin/who

Cross-platform Rust rewrite of the GNU coreutils.

From uutils 0.12.0-r6 (os), captured 2026-11-07 by running who --help (exit 0). permalink

Print information about users who are currently logged in.

Usage: who [OPTION]... [ FILE | ARG1 ARG2 ]

Arguments:
  [FILE]...

Options:
  -a, --all       same as -b -d --login -p -r -t -T -u
  -b, --boot      time of last system boot
  -d, --dead      print dead processes
  -H, --heading   print line of column headings
  -l, --login     print system login processes
      --lookup    attempt to canonicalize hostnames via DNS
  -m              only hostname and user associated with stdin
  -p, --process   print active processes spawned by init
  -q, --count     all login names and number of users logged on
  -r, --runlevel  print current runlevel
  -s, --short     print only name, line, and time (default)
  -t, --time      print last system clock change
  -u, --users     list users logged in
  -T, --mesg      add user's message status as +, - or ? [aliases: -w, --message, --writable]
  -h, --help      Print help
  -V, --version   Print version

If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common.
If ARG1 ARG2 given, -m presumed: 'am i' or 'mom likes' are usual.
Options (16)
OptionDescriptionSource
-a, --allsame as -b -d --login -p -r -t -T -uhelp + man
-b, --boottime of last system boothelp + man
-d, --deadprint dead processeshelp + man
-H, --headingprint line of column headingshelp + man
-l, --loginprint system login processeshelp + man
--lookupattempt to canonicalize hostnames via DNShelp + man
-monly hostname and user associated with stdinhelp + man
-p, --processprint active processes spawned by inithelp + man
-q, --countall login names and number of users logged onhelp + man
-r, --runlevelprint current runlevelhelp + man
-s, --shortprint only name, line, and time (default)help + man
-t, --timeprint last system clock changehelp + man
-u, --userslist users logged inhelp + man
-T, --mesgadd user's message status as +, - or ? [aliases: -w, --message, --writable]help + man
-h, --helpPrint helphelp + man
-V, --versionPrint versionhelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.