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.
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 NT commands:
NET USER - Manage network resources
SET USERNAME - Display current login name
NET CONFIG WORKSTATION - Display current login name
NET USER - Manage user account details
GLOBAL - Display membership of global groups
LOCAL - Display membership of local groups