vaheeD khoshnouD

linux, mikrotik, macosx

How Remove Older Kernel on Ubuntu and Clear /boot Partition

Written by vaheeD on June 4, 2014
How Remove Older Kernel on Ubuntu and Clear /boot Partition
0 votes, 0.00 avg. rating (0% score)

 

How Remove Older Kernel on Ubuntu and Clear /boot Partition

 

Just login as root user or using sudo command like …

 

sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')
How Remove Older Kernel on Ubuntu and Clear /boot Partition
0 votes, 0.00 avg. rating (0% score)

Posted Under: Linux

About vaheeD

Leave a Reply

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

Protected by WP Anti Spam