w
Display who is logged in and their processes. More information: https://www.geeksforgeeks.org/w-command-in-linux-with-examples/.
- Display information about all users who are currently logged in:
w
- Display information about a specific user:
w {{user}}
- Display information without including the header:
w --no-header
- Display information without including the login, JCPU and PCPU columns:
w --short