cmd get windows version code example Example: get Operating system command ver && uname #First command show version in Windows and second in Unix