How do I determine the version of a CentOS server without access to any graphical interface? I've tried several commands:
# cat /proc/version
Linux version 2.6.18-128.el5 ([email protected])
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) …
# cat /etc/issue
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
but which one is correct: 4.1.2-4 from /proc/version
or 5.3 from /etc/issue
?