---
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}}`
