You can find the kernel version of a Red Hat Enterprise Linux 6 (RHEL 6) or CentOS 6 system by using the uname
command with the -r
option. The -r
option displays the kernel release number. Here’s an example:
uname -r
This will output the kernel version number, for example:
2.6.32-754.18.2.el6.x86_64
In this example, 2.6.32-754.18.2.el6.x86_64
is the kernel version number. The el6
in the version number indicates that this is a Red Hat Enterprise Linux 6 (RHEL 6) or CentOS 6 system.