MAN Solaris - groups (1)

advertisement


NAME

groups - print group membership of user

CONTENTS

Synopsis
Description
Examples
Files
Attributes
See Also

SYNOPSIS

groups [user]...

advertisements

advertisements


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.

EXAMPLES

The output takes the following form:

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

FILES

/etc/passwd

/etc/group

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

group(4), passwd(4), attributes(5)

Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.11 groups (1) 14 Sep 1992
Generated by Open Solaris Forum from /usr/share/man/man1/groups.1 using man macros with tbl support.