find which groups a user is a member of linux code example Example: linux user groups groups $username