Monday, January 23, 2006

aptitude - purge old config files


- purge config files belonging to packages which were removed

# dpkg -l | grep '^rc\b' | awk '{print $2}' | xargs sudo aptitude purge

1 comment:

Anonymous said...

dpkg -l | grep ^rc | cut -d ' ' -f3 | xargs -p aptitude purge -y