Commit | Line | Data |
---|---|---|
3dfcd503 KB |
1 | .\" Copyright (c) 1991, 1993 |
2 | .\" The Regents of the University of California. All rights reserved. | |
4f975d01 KB |
3 | .\" |
4 | .\" %sccs.include.redist.roff% | |
5 | .\" | |
3dfcd503 | 6 | .\" @(#)groups.1 8.1 (Berkeley) %G% |
4f975d01 KB |
7 | .\" |
8 | .Dd "" | |
9 | .Dt GROUPS 1 | |
10 | .UC | |
11 | .Sh NAME | |
12 | .Nm groups | |
13 | .Nd show group memberships | |
14 | .Sh SYNOPSIS | |
15 | .Nm groups | |
16 | .Op Ar user | |
17 | .Sh DESCRIPTION | |
18 | The | |
19 | .Nm groups | |
20 | utility has been obsoleted by the | |
21 | .Xr id 1 | |
22 | utility, and is equivalent to | |
23 | .Dq Nm id Fl Gn Op Ar user . | |
24 | The command | |
25 | .Dq Nm id Fl p | |
26 | is suggested for normal interactive use. | |
27 | .Pp | |
28 | The | |
29 | .Nm groups | |
30 | utility displays the groups to which you (or the optionally specified user) | |
31 | belong. | |
32 | .Pp | |
33 | The | |
34 | .Nm groups | |
35 | utility exits 0 on success, and >0 if an error occurs. | |
36 | .Sh SEE ALSO | |
37 | .Xr id 1 |