Tag Archives: purging

[Ubuntu] Packages auto-purging script

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#!/bin/sh … Continue reading

Posted in Bash, Ubuntu | Tagged , , , | Leave a comment