![]() The latest kernel (the one with the highest version number) will boot by default, so if you have rebooted since the last kernel update, and you have not made adjustments to boot into a kernel other than the default, then you can be reasonably confident that the highest version number displayed will be the version of the running kernel, but you should use uname for more reliable information. Or for just the version strings: dpkg -l | grep linux-image | grep ii | awk '' To check the kernel version using the /proc/version file, open a terminal and run the following command: cat /proc/version. Do you know the exact Linux kernel and distro release version on your PC While you can find the kernel version using the uname -r command on all systems. This file contains the kernel version, build date, and other information. Another way to check the kernel version in Linux is to read the /proc/version file. You have to check for the installed Kernel version.Īnother way to find version of installed kernels is to run this command: dpkg -l | grep linux-image | grep ii Method 2: Checking the /proc/version File. It would display something like: Linux saurav-P4I45Gx-PE 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 17:33: i686 i686 i386 GNU/LinuxĪnother way to know the kernel version is to open Synaptic Package Manager and search for linux image. This will show you the kernel version, as well as the date it. The output above shows that the Linux kernel is 64-bit and its version is 4.15.0-54, where: 4 - Kernel Version. If you want to see more information about your kernel, type uname -a and press Enter. To find out what version of the Linux kernel is running on your system, type the following command: uname -srm. Is this related to the version of GCC that was used to build a the currently running kernel binary, as shown in the output of cat /proc/version The Linux kernel and GCC are separate projects-they're not released together. You will see the kernel version from the command output. ![]() You can get further information on the current kernel with uname -a Procedures to check kernel version in Linux. The output above tells us that the Linux kernel is 64-bit, and its version is 4. To check the currently running kernel configuration for a particular value: cat /boot/config-(uname -r) grep -i .To find out what version of the Linux kernel is running on your system, type the following command: uname -srm. 7 Answers Sorted by: 399 uname -a for all information regarding the kernel version, uname -r for the exact kernel version lsbrelease -a for all information related to the Ubuntu version, lsbrelease -r for the exact version sudo fdisk -l for partition information with all details. It would display something like: 3.8.0-30-generic The uname command displays several system information, including the Linux kernel architecture, name, version, and release. ![]() Well there are multiple ways to find the kernel version ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |