Note: This also works in other versions of Ubuntu, such as 11.10, 11.04, 10.10, 10.04 and earlier.
Sometimes you may wish to find out which kernel you’re currently running; fortunately, this is quite easy to do with the uname command. If you’re running Ubuntu Desktop, open up a Terminal; if you’re using Ubuntu Server log in as per usual and then run:
uname -v
…for the kernel version, or:
uname -r
for the kernel release. You can combine the two and use:
uname -rv
to see both of those with the one command.