GROUPS(1) User Commands GROUPS(1)
groups – print the groups a user is in
groups [OPTION]… [USERNAME]…
Print group memberships for each USERNAME or, if no USERNAME is speci‐
fied, for the current process (which may differ if the groups database
–help display this help and exit
output version information and exit
Written by David MacKenzie and James Youngman.
GNU coreutils online help:
Report groups translation bugs to
Copyright © 2016 Free Software Foundation, Inc. License GPLv3+: GNU
GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Full documentation at:
or available locally via: info ‘(coreutils) groups invocation’
GNU coreutils 8.25 February 2016 GROUPS(1)