mirror of https://github.com/CrimsonTome/tldr.git
14 lines
310 B
Markdown
14 lines
310 B
Markdown
# groups
|
|
|
|
> Print group memberships for a user.
|
|
> See also: `groupadd`, `groupdel`, `groupmod`.
|
|
> More information: <https://www.gnu.org/software/coreutils/groups>.
|
|
|
|
- Print group memberships for the current user:
|
|
|
|
`groups`
|
|
|
|
- Print group memberships for a list of users:
|
|
|
|
`groups {{username1 username2 ...}}`
|