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