os version windows check code example Example: how to check os version ver && cat /etc/os-release #Show Windows and Unix version respectively