List netgroup members
netgroup [-dhu] <netgroup>
netgroup lists the requested member types in the given netgroup.
-d
List domain names.
-h
List host names (default)
-u
List user names
--version
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 <[email protected]>