GNU Info

Info Node: ( invocation

( invocation

Next: users invocation Prev: whoami invocation Up: User information
Enter node , (file) or (file)node

`groups': Print group names a user is in

   `groups' prints the names of the primary and any supplementary
groups for each given USERNAME, or the current process if no names are
given.  If names are given, the name of each user is printed before the
list of that user's groups.  Synopsis:

     groups [USERNAME]...

   The group lists are equivalent to the output of the command `id -Gn'.

   The only options are `--help' and `--version'.  Note: Common

automatically generated by info2www version