w

Show who is logged on and what they are doing. Print user login, TTY, remote host, login time, idle time, current process. More information: <https://manned.org/w>.

Install

All systems
curl cmd.cat/w.sh
Arch Arch Linux
pacman -S procps-ng
CentOS
yum install procps-ng
Fedora
dnf install procps-ng

Show who is logged on and what they are doing. Print user login, TTY, remote host, login time, idle time, current process. More information: <https://manned.org/w>.

  • Show logged-in users info:
    w
  • Show logged-in users info without a header:
    w -h

© tl;dr; authors and contributors