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