Display who is logged in and their processes. More information: w command in Linux with Examples - GeeksforGeeks.
- Display information about all users who are currently logged in:
w
- Display information about a specific user:
w {{username}}
- Display information without including the header:
w --no-header
- Display information without including the login, JCPU and PCPU columns:
w --short