A Linux administrator needs to restart a server and wants to see if any users are currently connected to it. Which of the following commands should the administrator run to find this information?
w shows currently logged-in users and their processes.
man shows manual pages.
id shows UID/GID for current user.
host is a DNS lookup tool.
[Reference:CompTIA Linux+ XK0-005 Study Guide, Domain 5.0 – Troubleshooting, “Use the w command to list current users and their activities.”, ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit