Files
cheatsheet-tldr/tldr/linux/lid.libuser
2025-08-19 00:20:25 +00:00

18 lines
345 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.8>.
- List primary and secondary groups of a specific user:
`sudo lid {{username}}`
- List users of a specific group:
`sudo lid --group {{group_name}}`