check user group console linux code example Example: check user group console linux groups groups userName-Here