Created
March 17, 2016 09:02
-
-
Save guildenstern70/634b95fe27f8b818476a to your computer and use it in GitHub Desktop.
Script to remove old Linux kernels (change versions with actual numbers)
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 --list | grep linux-image | |
dpkg --list | grep linux-headers | |
sudo apt-get purge linux-image-3.19.0-{18,20,21,25} | |
sudo apt-get purge linux-headers-3.19.0-{18,20,21,25} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment