sudo apt-get purge $( dpkg --list | grep -P -o "linux-(headers|image)-dS+" |
grep -v $(uname -r | grep -P -o ".+d") )
[/fusion_text][separator style_type=”none” top_margin=”5″ bottom_margin=”” sep_color=”” border_size=”” icon=”” icon_circle=”” icon_circle_color=”” width=”” alignment=”center” class=”” id=””]Delete old linux kernels
[fusion_text]If your boot partition is full with old images, you can delete them by entering: the following (one!) line into a prompt!