Is there a way to reset all ubuntu config files, a batch procedure?. No the local config files, I mean all /etc config files.

I know how to do that one by one but that is a job for weeks or work.

  • sort of off topic, but, for future sys admin. If I edit system files, I never delete the origional. I keep a copy in /root/etc. Furthermore, within the file, again never delete a line. Comment it out (usually a #) , copy/modify/add line(s), and leave a comment as to why the file was edited. – Panther Mar 6 '13 at 18:01

No - there is no standard command.

But with the following command you may inspect which configurations may be different from the "default" configuration provided by the ubuntu packages.

 find /etc/ -name "*.dpkg-*"
  • wow, that will save a lot of work. – migueleon Mar 6 '13 at 17:32

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.