Remove all old installed but unused kernels

I just noticed I had 8 kernels installed on a machine. dont need but one…. so I rebooted to make sure I was using the newest, and removed all the old ones via these simple commands :   Ubuntu / Debian / dpkg / Apt:

Thats a one liner, so just copy paste the […]