Reference

rust-who(1)

Print information about users who are currently logged in.

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

-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 ?

-h, --help

Print help

-V, --version

Print version

[FILE]

VERSION

v0.0.30

History

-V since Debian 13 (Trixie); -h since Debian 13 (Trixie).

--ips until Debian 12 (Bookworm); --message until Debian 12 (Bookworm); --writable until Debian 12 (Bookworm); -w until Debian 12 (Bookworm).