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