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 CentOS/RHEL
You need to install yum-utils, which is an assortment of utilities that integrate with yum to make it more powerful and easier to use, by extending its original features in several different ways. Continue reading “Remove Old Unused Kernels in CentOS” »