check which os code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: how to check os version
ver && cat /etc/os-release #Show Windows and Unix version respectively
#Get details about linux distro
cat /etc/os-release
ver && cat /etc/os-release #Show Windows and Unix version respectively