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