Home
        <a name=

groups

Print group names a user is in

SYNTAX
     groups [USERNAME]...

DESCRIPTION
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.

Related commands:

env
- Display, set, or remove environment variables
id - Print user and group id's
logname - Print current login name
printenv - Print environment variables.
users
- Print login names of users currently logged in
uname - Print system information
who - Print who is currently logged in
whoami - Print the current user id and name (`id -un')