groups [user]Arguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
groupsLists groups for the current user.
groups www-dataDisplays groups for the service account.
| Field | Details |
|---|---|
| Command | groups |
| Category | User and Group Management |
| Primary use | Shows group memberships. |
| Syntax | groups [user] |