How to list active users?

QuestionsQuestions8 SkillsProUser Account ManagementOct, 06 2025
0124

To list active users currently logged into a Linux system, you can use one of the following commands:

  1. Using the who command:

    who

    This command displays a list of users currently logged in, along with their login time and terminal information.

  2. Using the w command:

    w

    This command provides a more detailed view, showing who is logged in and what they are doing, including their idle time and the command they are currently executing.

  3. Using the users command:

    users

    This command simply lists the usernames of users currently logged in, without additional details.

Any of these commands will help you identify active users on your system!

0 Comments

no data
Be the first to share your comment!