Just a short post about some useful cleanup commands for Debian and Ubuntu systems. There are (to my knowledge) no build in task solving the following things Remove old kernels (while keeping the currently running and the latest) Purge removed packages (especially after autoremoving unneeded dependencies)