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