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
md5-integrity-check

Integrity with MD5 or SHA-1

[title size=”2″ content_align=”center” style_type=”default” sep_color=”” margin_top=”” margin_bottom=”” class=”” id=””]Check integrity with MD5 or SHA-1[/title][separator style_type=”none” top_margin=”5″ bottom_margin=”” sep_color=””…
Read More