GROUPS

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
BSD 4.2  

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

group(5), setgroups(2)  

FILES

/etc/passwd
/etc/group

 

HISTORY

The group command appeared in BSD 4.2  

BUGS

More groups should be allowed.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
FILES
HISTORY
BUGS

This document was created by man2html, using the manual pages.
Time: 06:31:23 GMT, May 19, 2025