tldr/pages/common/groups.md

17 lines
380 B
Markdown

# groups
> Print group memberships for a user.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/groups-invocation.html>.
- Print group memberships for the current user:
`groups`
- Print group memberships for a specific user:
`groups {{username}}`
- Print group memberships for a list of users:
`groups {{username1}} {{username2}} {{username3}}`