23-Jul-2011

Cleaning up the Ubuntu boot partition

Here's an article with the best method I've yet seen to clean up old versions of the linux kernel from your machine.

Seeing commands like


dpkg -l 'linux-*' | 
sed '/^ii/!d;/'"$(uname -r | 
sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | 
xargs sudo apt-get -y purge

make me glad I'm not a linux systems manager :-)

Posted at July 23, 2011 1:13 PM
Tag Set:

Comments are closed