If you are working on Linux and want to know your version there are different options to get this. Many users are confused about the Kernel version and Linux distribution name and versions. Kernel versions are different from distribution names. Different Linux flavors are build on same kernel version or different kernel version. Kernel is the core of Linux and different companies package Linux in different name based on selected kernel version. One such example is Red Hat Enterprise Linux 5.5 (distribution name and version) is based on kernel version 2.6.18-194.17.4.el5.
Find Linux distribution name and kernel version.
cat /etc/*-release –> display the distribution name and version
lsb_release -d –> display the distribution name and version
cat /proc/version –> display kernel version, hardware platform, OS and many more details
uname -a –> display kernel version, hardware platform, OS and many more details