1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 16:26:00 +02:00
tldr/pages/common/groups.md
2021-03-30 09:53:29 -04:00

16 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}}`