Dtsazza |
04-08-2006 05:47 AM |
Quote:
Originally Posted by lugoteehalt
Isn't there the command 'kernelversion'?:)
|
Yes, kinda - from the man page:
Quote:
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
Code:
adoyle@minerva:~$ kernelversion
2.6
which is not so useful as compared to
Code:
adoyle@minerva:~$ uname -r
2.6.12
and that works on all versions of Linux.
Hope this cleared things up!
Andrzej
|