groups

Name

groups -- display a group

Synopsis

groups [user]

Description

The groups command shall behave as id -Gn [user], as specified in POSIX 1003.1-2001 (ISO/IEC 9945-2003). The optional user parameter will display the groups for the named user.