NAME

groups – print the groups a user is in  

SYNOPSIS

groups [OPTION]… [USERNAME]…  

DESCRIPTION

Print group memberships for each USERNAME or, if no USERNAME is specified, for the current process (which may differ if the groups database has changed).

–help
display this help and exit
–version
output version information and exit
 

AUTHOR

Written by David MacKenzie and James Youngman.

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.