Remove Old Unused Kernels in CentOS Rumi, January 26, 2023 To display the current version of Linux (kernel) running on your system, run this command. # uname -sr Linux 3.10.0-327.10.1.el7.x86_64 List All Installed Kernels on System You can list all kernel images installed on your system like this. # rpm -q kernel kernel-3.10.0-229.el7.x86_64 kernel-3.10.0-229.14.1.el7.x86_64 kernel-3.10.0-327.3.1.el7.x86_64 kernel-3.10.0-327.10.1.el7.x86_64 Removing Old/Unused Kernels on… Continue Reading
Delete Old Unused Kernels in Debian Rumi, June 17, 2022 To find out the current version of Linux kernel running on your system, use the following command. $ uname -sr Linux 4.12.0-041200-generic To list all installed kernels on your system, issue this command. $ dpkg -l | grep linux-image | awk ‘{print$2}’ linux-image-4.12.0-041200-generic linux-image-4.8.0-22-generic linux-image-extra-4.8.0-22-generic linux-image-generic Remove Old Unused Kernels… Continue Reading