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 th... thumbnail 1 summary

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 :

CommandFunction
uname -ashow all information
uname -sshow kernel name
uname -nshow nodename (computer name)
uname -rshow kernel release (it's actually kernel version)
uname -vshow kernel version
uname -mshow machine hardware name
uname -pshow processor type
uname -ishow hardware platform
uname -oshow 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 ~

Không có nhận xét nào

Đăng nhận xét