Operating System - Linux
1753261 Members
5209 Online
108792 Solutions
New Discussion юеВ

Need to find the OS release by seeing the kernel version

 
SOLVED
Go to solution
Adithyan
Frequent Advisor

Need to find the OS release by seeing the kernel version

Hi Friends,

Is there any was to identify the OS update by viewing the kernel release.

For example by looking in to 2.6.9-67.0.4.ELsmp, is it possible to say it is RHEL update #

Thank you
Adithyan
Keen to learn HP UX
4 REPLIES 4
Ivan Ferreira
Honored Contributor
Solution

Re: Need to find the OS release by seeing the kernel version

No, you can't say. You can have and old update version with a new kernel. You should consult /etc/redhat-release.

You could find the kernel package version that is installed by default with a specific "update" CD and do some match, but could not be accurate.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Adithyan
Frequent Advisor

Re: Need to find the OS release by seeing the kernel version

Thanks Ivan
Keen to learn HP UX
Jeeshan
Honored Contributor

Re: Need to find the OS release by seeing the kernel version

Hi

You can also see

#cat /proc/version
a warrior never quits
Change_happens
Honored Contributor

Re: Need to find the OS release by seeing the kernel version

yes cat /proc/version shows update version.
and cat /etc/-release file shows major version of linux distro. distro is redhat, SUSE or any other u have.