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