netgroup(1)

πŸ“¦
version 1.1 Β· 2 versions
  • 1.1 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 πŸŽ€πŸ¦‹πŸ’–