PDA

View Full Version : Noob utility



mtritab
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?

Thanks,
Mike

Jman
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.

WillieGo
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:
mod-times.sh


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


# 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.