Go to the version of this page provided by the coreutils project
| NAME | SYNOPSIS | DESCRIPTION | NOTE | FILES | SEE ALSO | COLOPHON |  | 
GROUPS(1)                       User Commands                      GROUPS(1)
       groups - display current group names
       groups [user]
       The groups command displays the current group names or ID values. If
       the value does not have a corresponding entry in /etc/group, the
       value will be displayed as the numerical group value. The optional
       user parameter will display the groups for the named user.
       Systems which do not support concurrent group sets will have the
       information from /etc/group reported. The user must use newgrp or sg
       to change his current real and effective group ID.
       /etc/group
           Group account information.
       newgrp(1), getgid(2), getgroups(2), getuid(2).
       This page is part of the shadow-utils (utilities for managing
       accounts and shadow password files) project.  Information about the
       project can be found at ⟨http://pkg-shadow.alioth.debian.org/⟩.  If
       you have a bug report for this manual page, see
       ⟨http://pkg-shadow.alioth.debian.org/getinvolved.php⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨git://anonscm.debian.org/git/pkg-shadow/shadow.git⟩ on 2018-02-02.
       (At that time, the date of the most recent commit that was found in
       the repository was 2017-09-27.)  If you discover any rendering prob‐
       lems in this HTML version of the page, or you believe there is a bet‐
       ter or more up-to-date source for the page, or you have corrections
       or improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to man-pages@man7.org
shadow-utils 4.4                 02/02/2018                        GROUPS(1)