bash know linux version code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: linux version
lsb_release -a
#Get details about linux distro
cat /etc/os-release
lsb_release -a