redhat enterprise 8 kernel versions code example Example: linux red hat version $ cat /etc/redhat-release