HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

who — Display who is logged in and related data (processes, boot time). See also: `users`, `w`, `whoami`.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
relatedcommandandcliloggedwhodisplay

Problem

How to use the who command: Display who is logged in and related data (processes, boot time). See also: users, w, whoami. More information: <https://www.gnu.org/software/coreutils/manual/html_node/who-invocation.html>.

Solution

who — Display who is logged in and related data (processes, boot time). See also: users, w, whoami. More information: <https://www.gnu.org/software/coreutils/manual/html_node/who-invocation.html>.

Display the username, line, and time of all currently logged-in sessions:
who


Display all available information:
who {{[-a|--all]}}


Display all available information with table headers:
who {{[-aH|--all --heading]}}

Code Snippets

Display the username, line, and time of all currently logged-in sessions

who

Display all available information

who {{[-a|--all]}}

Display all available information with table headers

who {{[-aH|--all --heading]}}

Context

tldr-pages: common/who

Revisions (0)

No revisions yet.