summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-10 17:48:34 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-12-10 17:48:34 +0000
commitfc89b27576312bd32e7e08060991fc3291abd634 (patch)
tree8f37f7d2499bc58b5ce1f2bde40332b97c874b56 /usr.bin
parent0ecce93dca66c2a743dcd63f72276c5128aa5e99 (diff)
downloadsrc-test2-fc89b27576312bd32e7e08060991fc3291abd634.tar.gz
src-test2-fc89b27576312bd32e7e08060991fc3291abd634.zip
groups(1): Add EXAMPLE
Add a super simple example Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.org/D27538
Notes
Notes: svn path=/head/; revision=368518
Diffstat (limited to 'usr.bin')
-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