Print the current major version number of the kernel
kernelversion command is used to print the major version number of the current kernel.
kernelversion