diff --git a/pages/linux/libuser-lid.md b/pages/linux/libuser-lid.md index 9b94fadaa7..fc160d0db7 100644 --- a/pages/linux/libuser-lid.md +++ b/pages/linux/libuser-lid.md @@ -1,13 +1,7 @@ # 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: . +> This command is an alias of `lid`. -- List primary and secondary groups of a specific user: +- View documentation for the original command: -`sudo lid {{username}}` - -- List users of a specific group: - -`sudo lid --group {{name}}` +`tldr lid.libuser` diff --git a/pages/linux/lid.libuser.md b/pages/linux/lid.libuser.md new file mode 100644 index 0000000000..3728f05e4a --- /dev/null +++ b/pages/linux/lid.libuser.md @@ -0,0 +1,12 @@ +# lid + +> Display a user's groups or a group's users. +> 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 index 99467f0abd..7edc90ee5b 100644 --- a/pages/linux/lid.md +++ b/pages/linux/lid.md @@ -1,10 +1,11 @@ # 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: . +> `lid` can refer to multiple commands with the same name. -- View documentation for `libuser-lid`: +- View documentation for the `libuser` tool: -`tldr libuser-lid` +`tldr lid.libuser` + +- View documentation for the `idutils` tool: + +`tldr lid.idutils`