groups [Command]
|Command groups
groups command shows the groups to which the user belongs.
Syntax
groups [username]
Description
groups command displays the names of groups to which the user belongs. Unless specify the username, the command displays the current user group.