Delete old linux kernels

linux-kernel
[fusion_text]If your boot partition is full with old images, you can delete them by entering: the following (one!) line into a prompt!

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=””]
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
install-rpm

Install with RPM

Next Post
block-att-postfix

Block attachments in Postfix

Related Posts