Created
September 15, 2015 23:21
-
-
Save wakumaku/0bcef7e85f52b7332c0a to your computer and use it in GitHub Desktop.
Linux, clean boot partition script
This file contains hidden or 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
#!/bin/bash | |
sudo apt-get remove `dpkg --list 'linux-image*' |grep ^ii | awk '{print $2}'\ | grep -v \`uname -r\`` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment