.\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.roff% .\" .\" @(#)groups.1 5.1 (Berkeley) 11/11/91 .\" .Dd "" .Dt GROUPS 1 .UC .Sh NAME .Nm groups .Nd show group memberships .Sh SYNOPSIS .Nm groups .Op Ar user .Sh DESCRIPTION The .Nm groups utility has been obsoleted by the .Xr id 1 utility, and is equivalent to .Dq Nm id Fl Gn Op Ar user . The command .Dq Nm id Fl p is suggested for normal interactive use. .Pp The .Nm groups utility displays the groups to which you (or the optionally specified user) belong. .Pp The .Nm groups utility exits 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr id 1