User:Giannoug

(How to remove unused config files for unistalled programs?)
Line 1: Line 1:
-
 
== How to remove unused config files for unistalled programs? ==
== How to remove unused config files for unistalled programs? ==
-
Open a Terminal (or SSH to your device) and type
+
Open up a Terminal (or SSH to your device) and type
dpkg -l | awk '/^rc/ {print $2}' | xargs dpkg -P
dpkg -l | awk '/^rc/ {print $2}' | xargs dpkg -P
That's it. All your unused config files are now gone!
That's it. All your unused config files are now gone!

Revision as of 10:28, 6 January 2010

How to remove unused config files for unistalled programs?

Open up a Terminal (or SSH to your device) and type

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

That's it. All your unused config files are now gone!