View Full Version : Noob utility

12th August 2004, 10:30 PM
Just did my first install last weekend.

I've tried to use command line when at all possible in order to learn linux better, but at times I've had to resort to GUI tools to troubleshoot issues I've had.

When I use the GUI tools, like Network, Drive Management, etc....I'd like to know what config files they touch so I can take a look at them at see what was added/changed so I can do it myself next time.

Is there any way to do this?


12th August 2004, 11:27 PM
Most of the GUI tools Red Hat wrote are in python. The source code is mostly in /usr/share/system-config-* if you want to hunt for config files there.

Nearly all config files are in the /etc directory.

12th August 2004, 11:51 PM
I never use the GUI to config stuff, but I decided to write a quick script that should help you out.

created the following script should do the trick:

find /etc -print | while read a
if [ ! -d $a ]
ls -l $a

# mod-times.sh >files1.txt
(Go make your changes to your system)
# mod-times.sh >files2.txt

Now diff the two files and you should see the files that got changed. Note that this will not work if you make changes in less than a minute from the time of the first run and the second.

# diff files1.txt files2.txt
Good Luck.