By Alvin Alexander. Last updated: June 4, 2016
I don't know of any direct commands to do this, but this cat
command works:
cat /etc/redhat-release
You can also take a look at the uname command, which can provide a lot of Linux version information.