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