check windowsos version and build code example Example: get system version ver && cat /etc/os-release #Show Windows and Unix version respectively