How to remove old kernels on Redhat/Centos/Fedora to free up boot partition

Published by

Posted on July 29, 2017

## Install yum utils ##
yum install yum-utils

## Package-cleanup set count as how many old kernels you want left ##
package-cleanup –oldkernels –count=2


About the Author