Quantcast
Channel: BSDnexus
Viewing all articles
Browse latest Browse all 17

Config cleanup

$
0
0

A one liner to remove all stale pkg config files on a system after the main programs have been removed.

WARNING: There's no going back so make sure you do want all these config files removed and that they're not being used in any way.

1
apt-get purge `dpkg -l | awk '/^rc/ {foo = foo $2 " "} END {print foo}'`

 


Viewing all articles
Browse latest Browse all 17

Trending Articles