From bf0ef98a3dab48c45ed817588a883430ec14ebff Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Wed, 10 Jan 2024 14:01:38 +0800 Subject: [PATCH] lid: add page (#7578) --- pages/linux/libuser-lid.md | 13 +++++++++++++ pages/linux/lid.md | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 pages/linux/libuser-lid.md create mode 100644 pages/linux/lid.md diff --git a/pages/linux/libuser-lid.md b/pages/linux/libuser-lid.md new file mode 100644 index 000000000..9b94fadaa --- /dev/null +++ b/pages/linux/libuser-lid.md @@ -0,0 +1,13 @@ +# 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: . + +- List primary and secondary groups of a specific user: + +`sudo lid {{username}}` + +- List users of a specific group: + +`sudo lid --group {{name}}` diff --git a/pages/linux/lid.md b/pages/linux/lid.md new file mode 100644 index 000000000..0334935ea --- /dev/null +++ b/pages/linux/lid.md @@ -0,0 +1,10 @@ +# lid + +> NOTE: This page is currently a redirection stub. If you are familiar with this program, please open a pull request. +> Query ID database and report results. +> On Fedora and Arch Linux, the binary name `lid` is taken by another program. See `tldr libuser-lid`. +> More information: . + +- View documentation for `libuser-lid`: + +`tldr libuser-lid`