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. |
Most distros come with a *version file inside /etc.
Don't have any suse or RedHat at hand but on debian it is Quote:
Code:
ls /etc/*version* |
Look at /etc/SuSE-release.
|
redhat cat /etc/redhat-release
|
Do you know that RHEL3 is out of support as of yesterday (31-Oct-2010) unless the user pays for an add-on sunsbscription for Extended Life Cycle Phase: http://www.redhat.com/security/updates/errata/ ?
|
Most distros come with a *version file inside /etc.
Don't have any suse or RedHat at hand but on debian it is Quote: /etc/debian_version Do a Code: ls /etc/*version*to check out The answer is very correct, I also do that |
The answer is very correct, I also do that
|
All times are GMT -5. The time now is 12:12 AM. |