Skip to content

Instantly share code, notes, and snippets.

@flandr
Created June 16, 2015 05:45
Show Gist options
  • Save flandr/c0f0a22655c453083184 to your computer and use it in GitHub Desktop.
Save flandr/c0f0a22655c453083184 to your computer and use it in GitHub Desktop.
clean up kernel images in ubuntu /boot
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