Aug 11

Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu:

#!/bin/sh
for i in `dpkg -l | grep ^rc | cut -f 3 -d ' '`
do
    dpkg -P $i;
done

Read More