Linux Blog

GROUPS

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

NAME

groups - display current group names  

SYNOPSIS

groups [user]  

DESCRIPTION

groups displays the current group names or ID values. If the value does not have a corresponding entry in /etc/group, the value will be displayed as the numerical group value. The optional user parameter will display the groups for the named user.  

NOTE

Systems which do not support concurrent group sets will have the information from /etc/group reported. The user must use newgrp or sg to change their current real and effective group ID.  

FILES

/etc/group - group information  

SEE ALSO

newgrp(1), getgid(2), getgroups(2), getuid(2)  

AUTHOR

Julianne Frances Haugh <jockgrrl@ix.netcom.com>


 

Index

NAME
SYNOPSIS
DESCRIPTION
NOTE
FILES
SEE ALSO
AUTHOR

Linux Blog

»

examples of using groups



What groups am I in?