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:
…for the kernel version, or:
for the kernel release. You can combine the two and use:
to see both of those with the one command.