tldr/pages/linux/groups.md

278 B

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}}