Skip to content

Instantly share code, notes, and snippets.

@wakumaku
Created September 15, 2015 23:21
Show Gist options
  • Save wakumaku/0bcef7e85f52b7332c0a to your computer and use it in GitHub Desktop.
Save wakumaku/0bcef7e85f52b7332c0a to your computer and use it in GitHub Desktop.
Linux, clean boot partition script
#!/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