← All posts

Kernels
August 17, 2017|Heath Schweitzer|1 min read|31 views|Last Updated June 22, 2026
Linux
Ubuntu:
display current active kernel:
uname -r
display a list of all installed kernels:
dpkg --list | grep linux-image
remove old kernels (keep 2-3 previous versions for rollback purposes):
sudo apt-get purge linux-image-x.x.x-x-generic
If this post was useful, consider buying me a coffee ☕ with ₿itcoin — no account needed, any amount welcome.