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