Question

What is the difference between /proc/version and /etc/redhat-release?

They showed different versions...

Was it helpful?

Solution

One tells you about the kernel. The other tells you about the distribution.

  • /proc/version has the linux kernel version (and some other stuff).
  • /etc/redhat-release has the version/release of Redhat that you're using.

If you upgrade your kernel, then /proc/version will change but /etc/redhat-release won't.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top