vaheeD khoshnouD

linux, mikrotik, macosx

How Remove Older Kernel on Ubuntu and Clear /boot Partition

Written by vaheeD on June 4, 2014
0.00 avg. rating (0% score) - 0 votes

 

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')
0.00 avg. rating (0% score) - 0 votes

Posted Under: Linux

About vaheeD

Leave a Reply

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

Protected by WP Anti Spam