On 04-Mar-2003/08:13 -0800, Andre Kirchner <[EMAIL PROTECTED]> wrote:
>Jin,
>
>find works fine when you know the complete name of the
>file, but in case you want to look for a file which
>has the "host" substring in the name for example, try
>
>find / | grep host

Unless it's a new file, I recommend using locate. It is much faster and
puts less load on the machine. The database is updated every morning, at
approx 0400 local. If the file existed then, using locate is a better
choice.

 locate host | less


Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to