Skip to main content

Print group memberships for a user.

# To print group memberships for the current user:
groups

# To print group memberships for a specific user:
groups <username>

# To print group memberships for a list of users:
groups <username1> <username2> <username3>