Manual pages › General commands (1)
groups-original(1)
print group membership of user
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
With the coreutil package (with the extra set), see groups(1) instead.
Also by this name: groups(1B), BSD versions of commands
NAME
groups - print group membership of user
SYNOPSIS
groups [ user ]
DESCRIPTION
The command groups prints on standard output the groups to which you or the optionally specified user belong. Each user belongs to a group specified in /etc/passwd and possibly to other groups as specified in /etc/group.
SEE ALSO
setgroups(2), group(4), passwd(4).
FILES
/etc/passwd /etc/group