1groups(1)                        User Commands                       groups(1)
2
3
4

NAME

6       groups - print group membership of user
7

SYNOPSIS

9       groups [user]...
10
11

DESCRIPTION

13       The command groups prints on standard output the groups to which you or
14       the optionally specified user belong. Each  user  belongs  to  a  group
15       specified  in  /etc/passwd and possibly to other groups as specified in
16       /etc/group. Note that  /etc/passwd specifies the numerical ID (gid)  of
17       the  group.  The  groups  command converts gid to the group name in the
18       output.
19

EXAMPLES

21       The output takes the following form:
22
23         example% groups tester01 tester02
24         tester01 : staff
25         tester02 : staff
26         example%
27
28
29

FILES

31       /etc/passwd
32
33
34       /etc/group
35
36

ATTRIBUTES

38       See attributes(5) for descriptions of the following attributes:
39
40
41
42
43       ┌─────────────────────────────┬─────────────────────────────┐
44       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
45       ├─────────────────────────────┼─────────────────────────────┤
46       │Availability                 │SUNWcsu                      │
47       └─────────────────────────────┴─────────────────────────────┘
48

SEE ALSO

50       group(4), passwd(4), attributes(5)
51
52
53
54SunOS 5.11                        14 Sep 1992                        groups(1)
Impressum