Table of Contents

GROUPS(1L) manual page

Name

groups - print the groups a user is in

Synopsis

groups [username...]
groups {--help,--version}

Description

This manual page documents the GNU version of groups. groups prints the names of the supplementary groups that each given username, or the current process if none are given, is in. If user names are given, the name of each user is printed before the list of that user's groups.

The group lists are equivalent to the output of the command `id -Gn'.

Options

When GNU groups is invoked with exactly one argument, the following options are recognized:
--help
Print a usage message on standard output and exit successfully.
--version
Print version information on standard output then exit successfully.


Table of Contents