0

Possible Duplicate:
What version of RHEL am I using?

I would like to find out the true and actual release version of Red Hat OS.

I know that catting /etc/redhat-release file is a popular solution...but what if somebody had tweaked that file to allow some software installation like Oracle?

In such a case, I would be getting wrong information.

Is "more /proc/version" most reliable way?

Ben
  • 1

2 Answers2

1

I always use cat /etc/*release -- works for most (all?) distros.

xofer
  • 3,092
0

I'd use /etc/issue, as /etc/*release files are sometimes modified to meet software compatibility requirements (Dell or HP's management agents, for instance).

ewwhite
  • 201,205