I don't know the answer to your question, but I can tell you why uname doesn't help.
RedHat is not an operating system. RedHat is a distribution (which includes Linux, an OS). $^O can be used to determine which OS is being used, but it won't tell you which distribution of Linux is being used.
In reply to Re: (OT) command for finding out which distribution of Linux is being used
by ikegami
in thread (OT) command for finding out which distribution of Linux is being used
by heidi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |