get a list of all available groups on rhel 8 code example Example: linux show groups cut -d: -f1 /etc/group | sort