Created
July 7, 2016 12:12
-
-
Save crashish/f4633ed8807d96a054db4e451deb7b87 to your computer and use it in GitHub Desktop.
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
dpkg -l 'linux-*' | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | grep -E "(image|headers)"|xargs sudo dpkg -P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment