Sunday, May 8, 2016

How to Remove Old Linux Kernels

Sometimes /boot is so limited, and tend to forget to do housekeeping. Here goes

dpkg --list | grep linux-image |awk {'print $2'}|grep -v "`uname -r`\|linux-image-generic"|xargs apt-get purge -y