Query: groups
OS: opensolaris
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
groups(1) User Commands groups(1)NAMEgroups - print group membership of userSYNOPSISgroups [user]...DESCRIPTIONThe command groups prints on standard output the groups to which you or the optionally specified user belong. Each user belongs to a group specified in /etc/passwd and possibly to other groups as specified in /etc/group. Note that /etc/passwd specifies the numerical ID (gid) of the group. The groups command converts gid to the group name in the output.EXAMPLESThe output takes the following form: example% groups tester01 tester02 tester01 : staff tester02 : staff example%FILES/etc/passwd /etc/groupATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+SEE ALSOgroup(4), passwd(4), attributes(5) SunOS 5.11 14 Sep 1992 groups(1)
| Related Man Pages |
|---|
| grpck(1b) - opensolaris |
| groups(1) - hpux |
| group(5) - ultrix |
| groups(1) - osf1 |
| group(4) - osf1 |
| Similar Topics in the Unix Linux Community |
|---|
| User/group reporting tool? |
| Removing users from groups |
| Secondary group info source |
| Assign zero to strings that don't appear in block, store result in AWK array |
| Groups is not visible |