Created
March 6, 2014 05:05
-
-
Save gkze/9382962 to your computer and use it in GitHub Desktop.
Dirty dirty way to clean your old kernel images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do no try this at home kids | |
dpkg -l | grep -E 'linux-(image|headers)' | grep -v $(uname -r|sed 's:-generic::g') | awk '{print $2}' | xargs apt-get -y remove |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment