groupadd, groupdel, groupmod, groups: update page (#7660)

This commit is contained in:
Emily Grace Seville
2022-01-27 13:06:40 -08:00
committed by GitHub
parent 11bef8b72b
commit 3a104d8676
4 changed files with 16 additions and 12 deletions

View File

@@ -1,16 +1,13 @@
# 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 specific user:
`groups {{username}}`
- Print group memberships for a list of users:
`groups {{username1}} {{username2}} {{username3}}`
`groups {{username1 username2 ...}}`