OT: locate (was RE: locate: /usr/var/locatedb: No such file or directory)

Michael Hoffman grouse@mail.utexas.edu
Mon Jul 29 04:18:00 GMT 2002


On Mon, 29 Jul 2002, Alex Vinokur wrote:

> However how do I have the locate utility in order to know where 'ls' is
> ?
> [...]
> $locate ls
>   generates 1389 lines
>
> $locate *ls
>   generete 71 lines
>
> But I need to know about the 'ls' pattern exactly.

Use:

locate */ls

But this is really off-topic for this list, as it is a general UNIX
question and doesn't have anything to do with Cygwin.
-- 
Michael Hoffman <grouse@mail.utexas.edu>
The University of Texas at Austin



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list