xref: /original-bsd/usr.bin/id/groups.1 (revision 614f1308)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)groups.1	5.1 (Berkeley) 11/11/91
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
18The
19.Nm groups
20utility has been obsoleted by the
21.Xr id 1
22utility, and is equivalent to
23.Dq Nm id Fl Gn Op Ar user .
24The command
25.Dq Nm id Fl p
26is suggested for normal interactive use.
27.Pp
28The
29.Nm groups
30utility displays the groups to which you (or the optionally specified user)
31belong.
32.Pp
33The
34.Nm groups
35utility exits 0 on success, and >0 if an error occurs.
36.Sh SEE ALSO
37.Xr id 1
38