-
-
Save maskshell/55f3a60faf834e1af8482160f02ad3f6 to your computer and use it in GitHub Desktop.
One-liner to remov all residual config packages in Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remove all the packages with residual configuration. | |
| # http://stuzhao.blogspot.com/2012/07/removing-all-residual-config-packages.html | |
| sudo apt-get remove --purge `dpkg -l | grep '^rc' | awk '{print $2}'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment