To free up some disk-space you can check which kernel you are using with:
uname -r
And then remove ALL kernel versions but the current with:
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
You can run this command as a cron job, if you want this done automatically. However this is not wise, as you should ALWAYS have an old kernel or two to fall back to (just in case the new one doesn't work with your system). At the very least, if you've just upgraded the kernel, reboot before deleting the older versions.
Source: How do I remove old kernel versions to clean up the boot menu?
But this command will start uninstalling right away, without asking!
How can I change that line, so you are asked to continue before it uninstalls?