/ Published in: Bash
Remove Unneeded Linux Kernels in Ubuntu
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
uname -r ls /boot | grep vmlinuz | cut -d'-' -f2,3 dpkg -l | grep ^ii | grep 2.6.28-15 | awk -F' ' '{ print $2 }' sudo aptitude remove linux-headers-2.6.28-15 linux-headers-2.6.28-15-generic linux-image-2.6.28-15-generic linux-restricted-modules-2.6.28-15-generic