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
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')