diff --git a/pages/linux/groups.md b/pages/linux/groups.md new file mode 100644 index 0000000000..e570409872 --- /dev/null +++ b/pages/linux/groups.md @@ -0,0 +1,15 @@ +# groups + +> Print group memberships for a user. + +- Print group memberships for the current user: + +`groups` + +- Print group memberships for a specific user: + +`groups {{username}}` + +- Print group memberships for a list of users: + +`groups {{username1}} {{username2}} {{username3}}`