Which command shows the users currently logged into the system?

Prepare for the LPI Linux Essentials Exam with our comprehensive quiz. Study with interactive flashcards and multiple choice questions, with detailed hints and explanations for each. Ace your exam with confidence!

The command that shows the users currently logged into the system is "who." When executed, this command provides a list of all users currently connected to the system, displaying relevant information such as their login name, terminal, login time, and remote hostname if applicable.

This command is particularly useful for system administrators and users who want to track session activity or check for active users on a multi-user system. The output allows for an understanding of who is currently utilizing the system at any given moment.

The other choices do not specifically fulfill the requirements of the question. While "w" also displays information about logged-in users and their activities, providing more detailed information including what they are doing at the time, "users" simply lists the usernames of those logged in without additional context. "list" is not a recognized command in this scenario related to viewing logged-in users.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy