HOWTO: Find Out What Linux Kernel Version I am Running?
In a terminal window, type:
echo `uname -r`
and press the ENTER key.
NOTE: Those little ticks are the backticks usually located on the key to the left of the ‘1′ (on the same key as the tilde ~ character) on a US layout keyboard. They are NOT the single quote usually located beside the enter key on a US layout keyboard.
Your terminal should respond with a single line telling you the name and version of the running kernel.
Here’s what happens when I do it:
jon@jonzbox:~$ echo `uname -r`
2.6.11-kanotix-11
jon@jonzbox:~$
This will only show you the kernel you are running right now. Even if you have multiple kernels installed, you can only be running one at a time.
Easy, huh?
Related Stories
POSTED IN: How To
3 opinions for HOWTO: Find Out What Linux Kernel Version I am Running?
New Linux User » HOWTO: Get Even More System Information!
Dec 22, 2005 at 9:04 am
[…] I’ve already written about using the uname -r command to get kernel version information, but there’s a few other neato little commands that you can use at the terminal window. […]
J
Oct 19, 2006 at 3:03 pm
No need to type echo….just use: uname -r
kj
Feb 1, 2007 at 3:13 am
u can also use
cat /proc/version
Have an opinion? Leave a comment: