Which command shows who is logged in and what they are doing?

Subh Singh
Invent the Future
To know who is logged in and what they are doing, the user should apply this command:
w
It collects information from the Linux system, such as logged-in usernames, terminal information, login time, idle time, and the current process or command associated with each user.











