---
name: "netgroup"
section: "1"
platform: "linux"
package: "ng-utils"
version: "1.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/netgroup"
---

# netgroup(1)

List netgroup members

## NAME

netgroup - List netgroup members

## SYNTAX

netgroup \[-dhu\] \<*netgroup*\>

## DESCRIPTION

netgroup lists the requested member types in the given netgroup.

## OPTIONS

- **-d**

  List domain names.

- **-h**

  List host names (default)

- **-u**

  List user names

- **--version**

  Show version information.

## EXAMPLES

To list all the hosts in the allhosts netgroup:

netgroup -h allhosts

## CONFORMING TO

A netgroup program first appeared in NetBSD 1.4.

## AUTHORS

Petter Reinholdtsen \<pere@hungry.com\>

## SEE ALSO

[getent(1)](/getent/1.md) [innetgr(1)](/innetgr/1.md) [setnetgrent(3)](/setnetgrent/3.md) [getnetgrent(3)](/getnetgrent/3.md) [endnetgrent(3)](/endnetgrent/3.md) [netgroup(5)](/netgroup/5.md)
