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