CmdID / Commands
eclean-kernel
Remove old kernels in Gentoo. tldr-pages
On Linux
List all kernel files
sudo eclean-kernel --list-kernelsIdentify
Remove all kernels except for the two newest ones
Remove all kernels except for the two newest ones and ask before removal
sudo eclean-kernel --all --num 2Identify