to show the kernel version in use
uname -a
show the RHEL version / release
cat /etc/redhat-release
other clones may have their own “release” files in /etc so…
ls /etc/*release
/etc/lsb-release /etc/oracle-release /etc/redhat-release /etc/system-release
Any of the files listed above will supply Linux release info