listusers(1) — USER COMMANDS
NAME
listusers − list user login information
SYNOPSIS
listusers [−g groups] [−l logins]
DESCRIPTION
Executed without any options, this command displays a list of all user logins, sorted by login, and the account field value associated with each login in /etc/passwd.
−g Lists all user logins belonging to group, sorted by login. Multiple groups can be specified as a comma-separated list.
−l Lists the user login or logins specified by logins, sorted by login. Multiple logins can be specified as a comma-separated list.
NOTES
A user login is one that has a UID of 100 or greater.
The −l and −g options can be combined. User logins will be listed only once, even if they belong to more than one of the selected groups.