command to know linux kernel version code example Example: bash get kernel version $ cat /proc/version