How to check if a System is Linux 3/4 AND suse 9/10
Hi,
I have a program that i want to install on only RHEL 3 and 4. It does not support RHEL 5. How do i check if a Reh Hat OS is 3 or 4 and not 5.
Similarly i need to check this for SUSE 9 and 10.
For RHEL, i am trying to see uname -a and also cat /proc/redhat-release. How do i make sure that if the target system is RedHat 3 or 4.
and in case of SUSE, how i decide for SUSE 9 or 10 and not other.
Thanks in advance for your help.
|