Skip to content

Instantly share code, notes, and snippets.

@simonswine
Created September 3, 2013 21:02
Show Gist options
  • Save simonswine/6429538 to your computer and use it in GitHub Desktop.
Save simonswine/6429538 to your computer and use it in GitHub Desktop.
Remove all config files of uninstalled packages
$ sudo dpkg --purge $(dpkg -l | grep ^rc | awk '{print $2}' | tr "\n" " ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment