How To Find Which Linux Kernel Version Is Installed On My System

https:/‮tual.www/‬turi.com
How To Find Which Linux Kernel Version Is Installed On My System

To find the version of the Linux kernel that is installed on your system, follow these steps:

  1. Open a terminal window. You can do this by pressing Ctrl + Alt + T or by searching for "Terminal" in the start menu or dashboard.

  2. In the terminal, type the following command and press Enter:

uname -r

This will display the version number of the kernel that is currently running on your system.

You can also use the uname command with the -a flag to display more information about the kernel, such as the hostname and the kernel build date:

uname -a

Alternatively, you can use the ls command to list the contents of the /lib/modules directory, which contains the kernel modules that are loaded into the kernel at runtime. The subdirectories in this directory correspond to the different kernel versions that are installed on the system:

ls /lib/modules

This will show you a list of directories that are named after the different kernel versions that are installed on your system. The directory with the highest version number is the one that corresponds to the current kernel.

You can also use the cat command to display the contents of the /proc/version file, which contains information about the kernel version and the distribution that it belongs to:

cat /proc/version

This will display a string that contains the kernel version number and other information about the kernel and the distribution.

Created Time:2017-10-28 21:38:52  Author:lautturi