kernelversion

Print the current major version number of the kernel

Supplementary instructions

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

grammar

kernelversion