GROUPS(1B) BSD Compatibility Package Commands GROUPS(1B)
groups - display a user's group memberships
/usr/ucb/groups [user]...
With no arguments, groups displays the groups to which you belong;
else it displays the groups to which the user belongs. Each user
belongs to a group specified in the password file /etc/passwd and
possibly to other groups as specified in the file /etc/group. If you
do not own a file but belong to the group which it is owned by then
you are granted group access to the file.
/etc/passwd
/etc/group
getgroups(2), attributes(7)
This command is obsolete.
September 14, 1992 GROUPS(1B)
NAME
groups - display a user's group memberships
SYNOPSIS
/usr/ucb/groups [user]...
DESCRIPTION
With no arguments, groups displays the groups to which you belong;
else it displays the groups to which the user belongs. Each user
belongs to a group specified in the password file /etc/passwd and
possibly to other groups as specified in the file /etc/group. If you
do not own a file but belong to the group which it is owned by then
you are granted group access to the file.
FILES
/etc/passwd
/etc/group
SEE ALSO
getgroups(2), attributes(7)
NOTES
This command is obsolete.
September 14, 1992 GROUPS(1B)