Manual pages › BSD versions of commands (1B)
groups(1B)
display a user's group memberships
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
Also by this name: groups(1), General commands · groups-original(1), General commands
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) in the Programmer's Reference Manual.
NOTES
This command is obsolescent.