From 04c6f82060d794c86f2755c19469e0c04b0f7d61 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 7 Dec 2025 18:00:28 +0200 Subject: [PATCH 1/2] Update id.md --- pages/common/id.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/id.md b/pages/common/id.md index 553c19f8fcba63..04c8bf892e7969 100644 --- a/pages/common/id.md +++ b/pages/common/id.md @@ -26,3 +26,7 @@ - Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong: `id {{username}}` + +- Skip name lookup and specify the UID number explicitly: + +`id +{{uid_number}}` From 346fa055855e383291be6b6d0e0a706519918273 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 7 Dec 2025 18:10:20 +0200 Subject: [PATCH 2/2] Update id.md --- pages/common/id.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/id.md b/pages/common/id.md index 04c8bf892e7969..e2c8aa6b3c44e5 100644 --- a/pages/common/id.md +++ b/pages/common/id.md @@ -23,6 +23,10 @@ `id {{[-g|--group]}}` +- Display all groups the current user belongs to: + +`id {{[-Gn|--groups --name]}}` + - Display an arbitrary user's ID (UID), group ID (GID) and groups to which they belong: `id {{username}}`