What does who do?

show who is currently logged in.

▸ Explain your own who command →

who examples, explained

$ who

  • whoshow who is currently logged in

$ who -a

  • whoshow who is currently logged in
  • -ashow all available information

$ who -b

  • whoshow who is currently logged in
  • -bshow the time of the last system boot

$ who -q

  • whoshow who is currently logged in
  • -qprint only login names and a count of logged-in users

who flags & options

-ashow all available information
-bshow the time of the last system boot
-Hprint a header row of column titles
-qprint only login names and a count of logged-in users
-uinclude how long each user has been idle
-mshow information only for the current terminal
-rshow the current runlevel

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.