tail head cat sleep
QR code linking to this page

Manual Pages  — GROUPS

NAME

groups – show group memberships

CONTENTS

SYNOPSIS


groups [user]

DESCRIPTION

The groups utility has been obsoleted by the id(1) utility, and is equivalent to "id". The command "id" is suggested for normal interactive use.

The groups utility displays the groups to which you (or the optionally specified user) belong.

EXIT STATUS

The utility exits 0 on success, and >0 if an error occurs.

EXAMPLES

Show groups the root user belongs to:
$ groups root
wheel operator

SEE ALSO

id(1)

GROUPS (1) June 6, 1993

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.
— Maurice Wilkes