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