groups
Syntax
groups [username]
Options
None
Description
The groups command displays the names of groups to which a user belongs. If you do not specify a user name, the command displays your groups.
groups [username]
None
The groups command displays the names of groups to which a user belongs. If you do not specify a user name, the command displays your groups.