list-users shows every user with an active session, their UID, and whether linger is enabled. Linger lets services keep running after logout. The user list pairs with loginctl list-sessions to map sessions to users.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.