summaryrefslogtreecommitdiff
path: root/usr.bin/id/groups.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/id/groups.1')
-rw-r--r--usr.bin/id/groups.16
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/id/groups.1 b/usr.bin/id/groups.1
index 3ecc27a3e47b..054efc86d5d9 100644
--- a/usr.bin/id/groups.1
+++ b/usr.bin/id/groups.1
@@ -55,5 +55,11 @@ utility displays the groups to which you (or the optionally specified
belong.
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+Show groups the root user belongs to:
+.Bd -literal -offset indent
+$ groups root
+wheel operator
+.Ed
.Sh SEE ALSO
.Xr id 1