Command
groupsExplanation
groups shows the groups that a user belongs to.
Examples
Show current user groups
groupsShow specific user groups
groups usernamegroupsgroups shows the groups that a user belongs to.
Show current user groups
groupsShow specific user groups
groups username