Scroll to navigation

WHO(1) General Commands Manual WHO(1)

NAME

who - Print information about users who are currently logged in.

SYNOPSIS

who [-a|--all] [-b|--boot] [-d|--dead] [-H|--heading] [-l|--login] [--lookup] [-m ] [-p|--process] [-q|--count] [-r|--runlevel] [-s|--short] [-t|--time] [-u|--users] [-T|--mesg] [-h|--help] [-V|--version] [FILE]

DESCRIPTION

Print information about users who are currently logged in.

OPTIONS

same as -b -d --login -p -r -t -T -u
time of last system boot
print dead processes
print line of column headings
print system login processes
attempt to canonicalize hostnames via DNS
only hostname and user associated with stdin
print active processes spawned by init
all login names and number of users logged on
print current runlevel
print only name, line, and time (default)
print last system clock change
list users logged in
add user's message status as +, - or ?
Print help
Print version
[FILE]

VERSION

v(uutils coreutils) 0.9.0

EXAMPLES

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]

The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail.

2026-06-04