How To Install W In Arch, CentOS And Fedora?

How To Install W In Arch, CentOS And Fedora?

w

Show who is logged on and what they are doing.
Print user login, TTY, remote host, login time, idle time, current process.

Install w

  • Arch Linux pacman -S procps-ng Click to copy
  • CentOS yum install procps-ng Click to copy
  • Fedora dnf install procps-ng Click to copy

Show who is logged on and what they are doing. Print user login, TTY, remote host, login time, idle time, current process.

How to use w?

Below are few example commands for w that you can use in the terminal.

Show logged-in users info:
wClick to copy
Show logged-in users info without a header:
w -hClick to copy
Installation of latest w command is available for Arch, CentOS and Fedora. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.