There are several ways to check the Linux kernel version on a system. Here are a few options:
uname
command with the -r
option:uname -r
This will display the current Linux kernel version.
cat
command to display the contents of the /proc/version
file:cat /proc/version
This will display the Linux kernel version and other information about the kernel.
ls
command to list the contents of the /boot
directory:ls /boot
This will display a list of files in the /boot
directory, including the Linux kernel image files. The kernel version will be included in the file names.