mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 13:41:33 +00:00
19 lines
411 B
Plaintext
19 lines
411 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|