1GROUPS(1) User Commands GROUPS(1)
2
3
4
6 groups - print the groups a user is in
7
9 groups [OPTION]... [USERNAME]...
10
12 Print group memberships for each USERNAME or, if no USERNAME is speci‐
13 fied, for the current process (which may differ if the groups database
14 has changed).
15
16 --help display this help and exit
17
18 --version
19 output version information and exit
20
22 Written by David MacKenzie and James Youngman.
23
25 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
26 Report any translation bugs to <https://translationproject.org/team/>
27
29 Copyright © 2021 Free Software Foundation, Inc. License GPLv3+: GNU
30 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
31 This is free software: you are free to change and redistribute it.
32 There is NO WARRANTY, to the extent permitted by law.
33
35 getent(1)
36
37 Full documentation <https://www.gnu.org/software/coreutils/groups>
38 or available locally via: info '(coreutils) groups invocation'
39
40
41
42GNU coreutils 9.0 March 2022 GROUPS(1)