DOKK / manpages / debian 12 / ng-utils / netgroup.1.en
netgroup(1) NSS utilities netgroup(1)

netgroup - List netgroup members

netgroup [-dhu] <netgroup>

netgroup lists the requested member types in the given netgroup.

List domain names.
List host names (default)
List user names
Show version information.

To list all the hosts in the allhosts netgroup:

netgroup -h allhosts

A netgroup program first appeared in NetBSD 1.4.

Petter Reinholdtsen <pere@hungry.com>

getent(1) innetgr(1) setnetgrent(3) getnetgrent(3) endnetgrent(3) netgroup(5)

1.1 Petter Reinholdtsen