GROUPS(1)

๐Ÿ’… GROUPS ๐Ÿ’…

okay bestie, so you know how you're in like, a million group chats? yeah. this is the terminal version. groups prints the groups a user is in. that's the whole vibe. no cap.


โœจ SYNOPSIS โœจ

groups [OPTION]... [USERNAME]...

๐Ÿซถ DESCRIPTION ๐Ÿซถ

So here's the tea ๐Ÿ“ โ€” groups prints out the group memberships for each USERNAME you hand it.

And if you don't give it any USERNAME at all? It just does it for the current process instead. lowkey important detail though: that result may differ if the groups database has changed since the process started, so don't come for me if it looks different than expected. it's giving "the database moved on and the process didn't."

  • --help โ€” displays this help and exits, periodt. the little cheat sheet.
  • --version โ€” outputs version information and exits. the receipts, basically. ๐Ÿ“œ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Written by David MacKenzie and James Youngman. icons only, we stan. ๐Ÿ’–


๐Ÿ˜ญ REPORTING BUGS ๐Ÿ˜ญ

Found a bug? not me gatekeeping the contact info, here you go:


Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. ๐Ÿซฃ fr fr, zero warranty. don't @ me.

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

  • getent(1) โ€” the other one. go look at it. iykyk.

Full documentation <https://www.gnu.org/software/coreutils/groups> or available locally via: info '(coreutils) groups invocation'


okay that's the whole page, you ate that ๐Ÿฝ๏ธโœจ this was GNU coreutils 9.12, dated September 2026, and it's the GROUPS(1) page of the User Commands manual. mwah, love u, go run it ๐Ÿ’…๐Ÿฆ‹๐ŸŒธ

๐Ÿ“ฆ where this page comes from