netgroup(1)
β¨ NAME β¨
netgroup β bestie, this is the lil tool that lists out your netgroup members π (it's living in the NSS utilities manual, page 1, iykyk)
π¦ SYNTAX π¦
netgroup [-dhu] <netgroup>
π DESCRIPTION π
okay so picture this: you hand netgroup a netgroup name, and it lists the requested member types in that netgroup. that's it. that's the whole vibe. you say which flavor of member you want, it serves it up, periodt πΈ
π OPTIONS π
-dβ list the domain names, no cap π°-hβ list the host names (this one is the default, so if you don't pick anything, this is what you get π)-uβ list the user names π--versionβ show version information, because sometimes you just gotta know β¨
π EXAMPLES π
want every single host inside the allhosts netgroup? say less:
netgroup -h allhosts
she ate and left no crumbs π
π CONFORMING TO π
a netgroup program first appeared in NetBSD 1.4 β so this whole thing is a certified classic, iconic behavior honestly π¦
π«Ά AUTHORS π«Ά
Petter Reinholdtsen <pere@hungry.com> β thank you king, we love you for this π
π SEE ALSO π
getent(1) Β· innetgr(1) Β· setnetgrent(3) Β· getnetgrent(3) Β· endnetgrent(3) Β· netgroup(5)
okay bestie that's the whole page, go forth and netgroup responsibly π β¨ this was NSS utilities, version 1.1, brought to you by Petter Reinholdtsen β mwah, stan, bye ππ¦π
π¦ where this page comes from
- debian bookworm: ng-utils 1.1-1 Β· GPL-2.0-or-later
- debian trixie: ng-utils 1.1-2 Β· GPL-2.0-or-later
- ubuntu noble: ng-utils 1.1-1 Β· GPL-2.0-or-later
- ubuntu questing: ng-utils 1.1-2
- ubuntu resolute: ng-utils 1.1-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: ng-utils 1.1-2build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms