how to check kernel version in mac code example Example: how to check kernel version in linux cat /proc/version