Blog

Ubuntu - Purge configuration files for removed packages

May 26, 2009
Category:Bash Linux Ubuntu 

This bash command will remove the left over config files from old packages that were removed with "apt-get remove".

dpkg -l | awk '/^rc/ {print $2}' | xargs sudo dpkg --purge

See the source article for an explanation of how it works.


Comments