Monday, June 16, 2014

How to show kernel information on Lubuntu

Sometimes there is a time when you want to know what kind of kernel that you're using such as kernel version, kernel release,etc.

For that job, linux has dedicated command called "uname" which will gives you all kind of kernel information from your machine.

Go ahead open the terminal (press CTRL + ALT + T), and then type the following command :

uname -a

That command will shows everything, kernel name, kernel version, kernel release, processor, hardware, operating system, etc.

kernelpanic@lubuntulaptop:~$ uname -a
Linux lubuntulaptop 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux

The uname command have several parameters, you can take a look at this table for all possible command :

Command Function
uname -a show all information
uname -s show kernel name
uname -n show nodename (computer name)
uname -r show kernel release (it's actually kernel version)
uname -v show kernel version
uname -m show machine hardware name
uname -p show processor type
uname -i show hardware platform
uname -o show operating system type

As you can see the uname -r command will gives you the kernel version on the machine that you're using right now. 

You can also use this command to get the same result :

cat /proc/sys/kernel/osrelease

~ enjoy ~

No comments:

Post a Comment