Tuesday, 19 February 2019

A quick fix for disk space issues by removing old kernels


One way to quickly get some free disk space is to remove old kernels.
To do this you'll need Byobu. This handy app will remove all old kernels except the current and last 2. Why this isn't automatically done by Linux I don't know?

Anyway, install Byobu with this command:
$ sudo apt-get install byobu

Then run it:

$ sudo purge-old-kernels

Too easy :-)

No comments:

Post a Comment