Originally Posted by lugoteehalt
Isn't there the command 'kernelversion'?
Yes, kinda - from the man page:
kernelversion is a small program for Debian/GNU Linux to report the major version of the kernel. This version is used by the modutils package to calculate the directories for kernel modules. See /etc/modules.conf for a sample usage.
So it seems it's only available for Debian. Still, it's not that
useful; using it only gives the major version, as in
which is not so useful as compared to
adoyle@minerva:~$ uname -r
and that works on all versions of Linux.
Hope this cleared things up!