groups man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

groups(1)			 User Commands			     groups(1)

NAME
       groups - print group membership of user

SYNOPSIS
       groups [user]...

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 TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcs			   │
       └─────────────────────────────┴─────────────────────────────┘

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

SunOS 5.11			  14 Sep 1992			     groups(1)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net