groups

Print group names a user is in.

Syntax
     groups [username]...

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.

"The leader can never close the gap between himself and the group. If he does, he is no longer what he must be. He must walk a tightrope between the consent he must win and the control he must exert" ~ Vince Lombardi

Related:

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')
Equivalent Windows command: DSMOD user - Modify active directory object.


© Copyright SS64.com 1999-2014
Some rights reserved