groups Command Examples

Print group memberships for a user. See also: groupadd, groupdel, groupmod. More information: https://www.gnu.org/software/coreutils/groups.

groups

groups {{username1 username2 ...}}