1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/libuser-lid.md

14 lines
319 B
Markdown
Raw Normal View History

2024-01-10 14:01:38 +08:00
# libuser-lid
> Display a user's groups or a group's users.
> On Fedora and Arch Linux, this program is installed as `lid`.
> More information: <https://manned.org/lid.8>.
- List primary and secondary groups of a specific user:
`sudo lid {{username}}`
- List users of a specific group:
`sudo lid --group {{name}}`