On 2/20/14 11:44 PM, paul g wrote:
> I have a computer running Ubuntu 10.04 and have removed most of the
> images using the following command in bash     sudo aptitude search
> linux-image | grep -E "^i"

Every few months, once I test & know I have a solid working kernel, I
follow the steps listed at this site to clean up old kernels.

http://ubuntugenius.wordpress.com/2011/01/08/ubuntu-cleanup-how-to-remove-all-unused-linux-kernel-headers-images-and-modules/

Which says:

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