diff --git a/pages/common/id.md b/pages/common/id.md index 553c19f8fcba63..e2c8aa6b3c44e5 100644 --- a/pages/common/id.md +++ b/pages/common/id.md @@ -23,6 +23,14 @@ `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}}` + +- Skip name lookup and specify the UID number explicitly: + +`id +{{uid_number}}`