how to check primary and secondary group in linux code example Example: check user group console linux groups groups userName-Here