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

Your Name:
Your Email:
Comment Title:
Notify me of comments to this post.
 
This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)