groups(1) — USER COMMANDS
NAME
groups − print group membership of user
SYNOPSIS
groups [ user ]
DESCRIPTION
The command groups prints on standard output the groups to which you or the optionally specified user belong. Each user belongs to a group specified in /etc/passwd and possibly to other groups as specified in /etc/group.
SEE ALSO
setgroups(2), group(4), passwd(4)
FILES
/etc/passwd
/etc/group