On Nov 10, 2005, at 12:49 PM, Alex Kelly wrote:

On 11/10/05, Garrett Cooper <[EMAIL PROTECTED]> wrote:
On Nov 10, 2005, at 12:06 PM, Alex Kelly wrote:


On 11/10/05, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

Alex Kelly wrote:


if you're just interested in seeing if it's there, try this:

find / -name "xorg.conf"



Try:

   locate xorg.conf

first.  Much quicker.  If that doesn't find anything then try
find, but
with huge disks searching everywhere would take, well, a while.

--Alex


this is true and a good tip. it is quicker. however, xorg.conf could
have been created before his locate database was recomputed to include
it. figured i'd cover all his bases.


Even quicker method (as compared to refreshing a locate database)
for searching for a .conf file...

find /usr/local/etc /etc -name "BLAH.conf"

One should know that almost all conf files are located in / usr/local/
etc or /etc in FreeBSD.
-Garrett

one should also know that after executing "Xorg -configure", the
generated conf file is in /root and not in either /usr/local/etc or
/etc - it is manually copied to /etc/X11 later.

so find /usr/local/etc /etc -name "BLAH.conf" is quicker, but will miss the file

Ah... I see. Well, the files are almost always placed in /root or ~/ it seems when configuring items. Just make sure to search for hidden files.
-Garrett
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to