Files
cheatsheet-tldr/tldr/linux/lid.libuser
2025-12-01 00:25:28 +00:00

18 lines
343 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# lid
> Display a user's groups or a group's users.
> More information: <https://manned.org/lid>.
- List primary and secondary groups of a specific user:
`sudo lid {{username}}`
- List users of a specific group:
`sudo lid --group {{group_name}}`