NETGROUP(1) General Commands Manual NETGROUP(1)

netgroup
list netgroup members

netgroup [-dhu] netgroup

netgroup lists the members of specified netgroups. The type of members is selected using the following options:
list domains
list hosts (the default)
list users

innetgr(1), netgroup(5)

A netgroup utility appeared in NetBSD 1.4 and was inspired from the netgroup utility that was written by Ken Lalonde (University of Toronto).
March 2, 1999 NetBSD 9.4