bsd man page for groups

Query: groups

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GROUPS(1)						      General Commands Manual							 GROUPS(1)

NAME
groups - show group memberships
SYNOPSIS
groups [user]
DESCRIPTION
The groups command shows the groups to which you or the optionally specified user belong. 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. When a new file is created it is given the group of the containing directory.
SEE ALSO
setgroups(2)
FILES
/etc/passwd, /etc/group
BUGS
More groups should be allowed. 4.2 Berkeley Distribution April 29, 1985 GROUPS(1)
Related Man Pages
groups(1) - opensolaris
groups(1b) - opensolaris
sss_groupmod(8) - centos
groups(1) - hpux
group(5) - ultrix
Similar Topics in the Unix Linux Community
Breaking long lines into (characters, newline, space) groups
Removing users from groups
Help with shell commands
Frustrating Groups loop
Creating groups and users