Skip to Content
gnux

-u, --users

List users logged in.

An option of whox.

Usage

whox -u [ FILE | ARG1 ARG2 ]
whox --users [ FILE | ARG1 ARG2 ]

Details

ShortLongValueDefaultMeaning
-u--usersnonelist users logged in

Examples

See how long each session has been idle, with headings

whox -uH
Output
NAME     LINE         TIME         IDLE          PID COMMENT
alice    pts/0        Oct 12 09:30 01:30        1234 (10.0.0.5)
bob      pts/1        Oct 12 13:02   .          1300 (laptop.lan)

Help in the terminal

gnux help whox --users

On this page