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