Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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. – bodhi.zazen Mar 6 '13 at 18:01
up vote 1 down vote accepted

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-*"
share|improve this answer
wow, that will save a lot of work. – migueleon Mar 6 '13 at 17:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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