[pca] Questions on initial setup
Martin Paul
martin at par.univie.ac.at
Thu Nov 11 09:41:35 CET 2010
French, David wrote:
> I just wanted to point out if you want to know exactly where the config
> files are located that your wget is using, you can run the following
> command line. This is a nice way to discover where the program expects
> to look for the config file when you aren't sure what the builder
> selected.
"strings" is nice, but you could also use "truss" for that:
$ truss /usr/sfw/bin/wget 2>&1 | grep wgetrc
stat64("/etc/wgetrc", 0xFFBFE8C0) = 0
open64("/etc/wgetrc", O_RDONLY) = 3
stat64("/home/martin/.wgetrc", 0xFFBFE860) Err#2 ENOENT
(In [t]csh the command is "truss /usr/sfw/bin/wget |& grep wgetrc").
Martin.
More information about the pca
mailing list