Many ways to show the linux version in terminal, they are:
$ dmesg | head -1
it will show you:
Linux version 2.6.18-92.el5xen (mockbuild@builder16.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Jun 10 19:55:54 EDT 2008
$ cat /proc/version
it will show you with the same as command before.
$ cat /etc/issue
it will show you this text
CentOS release final 5.2. (Final)
kernel \r on an \m
0 comments