👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

OpenSolaris 2009.06 - man page for groups (opensolaris section 1)

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 numeri-
       cal ID (gid) of the group. The groups command converts gid to the group name in	the  out-
       put.

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		     |SUNWcsu			   |
       +-----------------------------+-----------------------------+

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

SunOS 5.11				   14 Sep 1992					groups(1)


All times are GMT -4. The time now is 04:26 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?