Thursday, June 13, 2013

How to find the Linux Distribution Name and Version

In this post, I will try to show you that how we can check the version of Linux (Debian, Fedora, Ubuntu, CentOS), a particular system is running. Sometime we login to the system but we don’t know that which Linux distribution is running on it, So in this post, we will try to find it by using the lsb_release command that displays certain Linux Standard Base(LSB) and distribution-specific information.
To show the release number of installed distribution:

lsb_release -r


To show the distributor ID:

lsb_release -i


To show all of the above information:

lsb_release -a


To find Out the Kernel Version by using this command:

uname -mrs



Where:

Linux – Kernel name
3.2.0-24-generic – Kernel version
x86_64 – Kernel is 64-bit

Hope this will help you!

No comments:

Post a Comment