#Check the current kernel version
uname -a
See the list of installed kernels
rpm -qa | grep kernel
Ubuntu
CentOS:
apt autoremove --purge
#remove all old kernels – keep the lastest 2
package-cleanup --oldkernels --count=2
#Check the current kernel version
uname -a
See the list of installed kernels
rpm -qa | grep kernel
Ubuntu
CentOS:
apt autoremove --purge
#remove all old kernels – keep the lastest 2
package-cleanup --oldkernels --count=2
Designed using Responsive Brix. Powered by WordPress.