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