Created
September 8, 2016 05:41
-
-
Save sporting/0413fc66e44242df1841d67fff529c40 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
sudo apt-get purge $(dpkg --list|grep linux-image|grep --invert $(uname -r)|grep --invert 'linux-image-generic'|awk -F ' ' '{print $2}');sudo apt-get autoremove;sudo update-grub2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
remove old ubuntu linux kernel