MEMBERS(1)

πŸ’– MEMBERS(1) β€” the girlies' guide to group members πŸ’–

okay bestie, so this is a page from the General Commands Manual, section 1. Section 1 is where all the user commands live, iykyk. Let's get into it πŸ’…


🌸 NAME 🌸

members β€” she outputs members of a group. that's it, that's the whole job, and she does it flawlessly ✨


πŸŽ€ SYNOPSIS πŸŽ€

members groupname

πŸ¦‹ DESCRIPTION πŸ¦‹

so real talk: this manual page is just a lil quick rundown of the members commands. it was written specifically for the Debian GNU/Linux distribution, so if you're on Debian you're literally in the right place, no cap 🫢

here's the tea on what members actually does: it's a program that sends a space-separated list of secondary member names straight to its standard output. that's her whole vibe. space-separated, secondary members, standard output. iconic πŸ’–


✨ OPTIONS ✨

these programs follow the usual GNU command line syntax, meaning the long options start with two dashes (-). summary of options is right down here, bestie πŸ‘‡

  • -a, --all β€” shows all the group members on one line. this is the default, so if you just run it with nothing, this is the energy you get 🌈
  • -p, --primary β€” shows only the primary group members. primary girlies only πŸ‘‘
  • -s, --secondary β€” shows only the secondary group members. the supporting cast, but make it slay πŸ’œ
  • -t, --two-lines β€” sends two lines to standard output. first line is the primary members, second line is the secondary members. NOTE: this always displays two lines, even if there are no members at all. like, she will still hand you two lines. she said "consistency." periodt πŸ’…
  • -h, --help β€” shows a summary of options. your little emergency cheat sheet πŸŽ€

πŸ’€ DIAGNOSTICS πŸ’€

exit status is 0 (i.e. "success") if the group was found, and 1 (i.e. "failure") if the group was not found. simple as πŸ“

technically β€” and this is the nerdiest, most main character detail β€” the exit status hinges on the output of getgrnam(3) as follows: if getgrnam(3) returns a null pointer, the exit status is 1, and 0 otherwise. so yeah, it's all about that getgrnam(3) return value bestie 😭


πŸ™ˆ BUGS πŸ™ˆ

"I don't know of any! If you find one, please let me know!"

okay and honestly? she's humble, she's honest, and if you catch a bug you should absolutely tell her fr fr πŸ’–


πŸ‘€ SEE ALSO πŸ‘€


πŸ’œ AUTHOR πŸ’œ

this manual page was written by Jim Lynch <jim@laney.edu>, for the Debian GNU/Linux system (but may be used by others). shoutout Jim, absolute legend for the docs 🌟


and that's the whole page bestie, we ate and left no crumbs πŸŽ€ this was section 1 of the General Commands Manual β€” MEMBERS(1) β€” so go forth, check those group members, and stay iconic πŸ’…βœ¨