I'm trying to find my current logged in group without wanting to use newgrp to switch.
I figured I can use the following.
To get all the groups I belong
And to get the actual names, instead of the ids, just pass the flag
This last command will yield the same result as executing
To get group name needed one more flag:
id -g -n