how to check os in terminal code example
Example 1: find operating system linux
#Get details about linux distro
cat /etc/os-release
Example 2: cmd to know the version of a programm
wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value