Monday 9 December 2013

Finding Ubuntu and Kernel Version and other details


Finding kernel details
You can use the “uname” command to find the kernel details in Ubuntu. The command has got various options which is described below
uname –v
This will show the kernel-version. When executed in Ubuntu 13.10 the result is as follows

uname –r
This command helps one to find the kernel release version. Please see the result of the same in Ubuntu 13.10 below

uname –s
This command helps one to list the kernel name.

uname –n
This command helps one to list the node name i.e the machine name or name you have given to your system.

uname –m, uname –p and uname –i
These variants help one to find the machine hardware name, the processor type and the hardware platform type.

Now if you want to see all these information at once you can use the following variant of the command
uname –a


Finding Ubuntu version details
Using the command “lsb_release” one can find some information about the Ubuntu version. Let us go through different variants of the command
lsb_release –r
This variant will help you to get the Ubuntu release version

lsb_release –i
This command will show the distribution ID of the Ubuntu release

lsb_release –d
Helps to get the description attached with the distribution

lsb_release –c
This command helps to find the codename assigned to the release

Now if you want to see all these information at once you can use the following variant of the command
lsb_release –a


Thank you all………….

No comments:

Post a Comment