groups [user name] # [user name] : (optionnal) the user to list the group of # default is the one executing the command.
grep 'group-name-here' /etc/group
groups
cat /etc/passwd | awk -F: '{print $ 1}'
groups $username