lid(1)
π lid β bestie edition π
okay so you know how you're always like "wait what groups am i even in??" β that's literally this. it's lid(1), a General Commands Manual page, and it's here to spill the tea on groups and users. π«Ά
β¨ NAME β¨
lid β Display user's groups or group's users
like the glow-up of "who's in what" π
πΈ SYNOPSIS πΈ
lid [OPTION]... [name]
that's it. that's the whole vibe. one little name and some options and you're done π
π¦ DESCRIPTION π¦
lid shows you info about the groups that contain a user called name, or the users that are contained in a group called name. it's giving mutuals. it's giving "who's in this group chat" energy. π
by default, lid lists the groups containing name, or β if you didn't pass a name at all β the groups containing the invoking user, aka you, the main character. π
but wait, there's a plot twist: you can flip the whole mode of operation with the -g option. so instead of "what groups am i in" it becomes "who's in this group". two icons, one command. β¨
π OPTIONS π
-g,--groupβ list the users in a group called name instead of the other way around. and if you don't pass a name, it lists the users in the invoking user's primary group. lowkey iconic. π-i,--interactiveβ asks you all the questions when it's connecting to the user database, even if there are default answers already set up in the libuser configuration. like it does not care that defaults exist, it wants to chat. π-n,--onlynamesβ lists only the group names or user names. by default the corresponding user or group IDs get listed too, so this is the "just the names bestie, i don't need the numbers" option. β
π₯ EXIT STATUS π₯
0β success, we ate π1β error, not the vibe π
no cap, that's the entire exit status situation. 0 for slay, 1 for oh no.
π SEE ALSO π
nothing else listed here bestie, this page is self-sufficient and honestly? respect. π
okay so the fine print: this beauty comes from libuser, and the page is dated Dec 6 2007 β yes she's been serving since 2007 and she's still that girl. π§ββοΈ bye bestie, go check your groups π
π¦ where this page comes from
- alpine 3.24: libuser-doc 0.64-r2 Β· LGPL-2.0-or-later
- centos-stream 10: libuser 0.64-12.el10 Β· LGPL-2.0-or-later
- centos-stream 9: libuser 0.63-17.el9 Β· LGPLv2+
- centos-stream 9: libuser 0.63-17.el9 Β· LGPLv2+
- fedora 43: libuser 0.64-16.fc43 Β· LGPL-2.0-or-later
- fedora 43: libuser 0.64-16.fc43 Β· LGPL-2.0-or-later
- fedora 44: libuser 0.64-17.fc44 Β· LGPL-2.0-or-later
- fedora 44: libuser 0.64-17.fc44 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- Copyright (C) 2005, 2007 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms