Skip to content

Instantly share code, notes, and snippets.

@lym
Last active January 3, 2016 17:49
Show Gist options
  • Save lym/8498336 to your computer and use it in GitHub Desktop.
Save lym/8498336 to your computer and use it in GitHub Desktop.
remove/unistall old or unused kernels from you ubuntu box.
$ uname -r # to get the current functional kernel
$ dpkg --list | grep linux-image # use your imagination.
$ sudo apt-get purge linux-image-x.x.x.x-generic # or whatever the name of the version you want to uninstall is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment