Cleanup old kernels Ubuntu

Cleanup old kernels and headers Ubuntu

Ubuntu 15.10 and below:

I find this to be the easiest and quickest way. It keeps the latest kernel as well as two more:
sudo apt-get install bikeshed
sudo purge-old-kernels
To change the number of additional kernels that are kept:
sudo purge-old-kernels --keep 3

Comments

Popular posts from this blog

Oracle JDBC ReadTimeout QueryTimeout

Generically load enum mapping via properties file

ActiveMQ https