groups

Name

groups -- display a group

Synopsis

groups [user]

Description

groups displays the current group ID names or values. If the value does not have a corresponding entry in /etc/group, the value will be displayed as the numerical group value. The optional user parameter will display the groups for the named user.