Remove Old Linux Kernels with Byobu

October 15, 2017

Here's a simpler way of deleting old Linux kernels.

Install Byobu:

sudo apt install byobu

After that, the command to remove all Linux kernels except for the two latest is:

sudo purge-old-kernels --save 2