check version of linux code example
Example 1: how to check version of linux command line
cat /etc/os-release
Example 2: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 3: linux version command
lsb_release -a
Example 4: cat /etc/os-release
cat /etc/os-release
Example 5: how to find distro name
cat /etc/os-release
lsb_release -a
hostnamectl
Type the following command to find Linux kernel version:
uname -r