Reference: getgrnam
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:35:39Z

#

| Chapter 5 Function Reference |

## getgrnam

    getgrnam name

Retrieves a group file entry by the group name name. The return value in list context is:

>     ($name, $passwd, $gid, $members)

where `$members` contains a space-separated list of the login names of the members of the group. In scalar context, `getgrnam` returns only the numeric group ID.

Reference: getgrgid |  | Reference: gethostbyaddr