I know I have existing groups and users but I'm not sure about their association. Is there an shell command I can use to list all users or all groups and a command to list all groups/users for a specified user/group?
So something like showusers would list all users, and showgroups -u thisuser would show all the groups that have thisuser in it.