Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

group(4)

passwd(4)

groups(1)

NAME

groups − print group membership of user

SYNOPSIS

groups [ user... ]

AVAILABILITY

SUNWcsu

DESCRIPTION

The 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. 

EXAMPLE

The output takes the following form:

example% groups tester01 tester02
tester01 : staff
tester02 : staff
example%

FILES

/etc/passwd
/etc/group

SEE ALSO

group(4), passwd(4)

SunOS 5.5/SPARC  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026