GO KALI FREE
User Management

who Linux Command

Shows all users currently logged into the system with login details.

What does who do?

Shows all users currently logged into the system with login details.

Syntax

who [options]

Practical example

who -a

Related User Management

whoami

Displays the username of the currently logged-in user.

w

Displays who is logged in and what they are currently doing.

last

Shows the last logged-in users from the system log file.

id

Prints user and group IDs (UID, GID) for the specified or current user.

groups

Displays all groups the current user is a member of.

su

Switches to another user account or the root user.