xref: /csrg-svn/usr.bin/id/groups.1 (revision 51644)
1*51644Sbostic.\" Copyright (c) 1991 The Regents of the University of California.
2*51644Sbostic.\" All rights reserved.
3*51644Sbostic.\"
4*51644Sbostic.\" %sccs.include.redist.roff%
5*51644Sbostic.\"
6*51644Sbostic.\"	@(#)groups.1	5.1 (Berkeley) 11/11/91
7*51644Sbostic.\"
8*51644Sbostic.Dd ""
9*51644Sbostic.Dt GROUPS 1
10*51644Sbostic.UC
11*51644Sbostic.Sh NAME
12*51644Sbostic.Nm groups
13*51644Sbostic.Nd show group memberships
14*51644Sbostic.Sh SYNOPSIS
15*51644Sbostic.Nm groups
16*51644Sbostic.Op Ar user
17*51644Sbostic.Sh DESCRIPTION
18*51644SbosticThe
19*51644Sbostic.Nm groups
20*51644Sbosticutility has been obsoleted by the
21*51644Sbostic.Xr id 1
22*51644Sbosticutility, and is equivalent to
23*51644Sbostic.Dq Nm id Fl Gn Op Ar user .
24*51644SbosticThe command
25*51644Sbostic.Dq Nm id Fl p
26*51644Sbosticis suggested for normal interactive use.
27*51644Sbostic.Pp
28*51644SbosticThe
29*51644Sbostic.Nm groups
30*51644Sbosticutility displays the groups to which you (or the optionally specified user)
31*51644Sbosticbelong.
32*51644Sbostic.Pp
33*51644SbosticThe
34*51644Sbostic.Nm groups
35*51644Sbosticutility exits 0 on success, and >0 if an error occurs.
36*51644Sbostic.Sh SEE ALSO
37*51644Sbostic.Xr id 1
38