Mail Archives: cygwin/2002/07/24/12:16:38
i tend to use locate with a updatedb scheduled every night. but that might
not be great if you have a very high file turnover every day.
-----Original Message-----
From: Mike Maxwell [mailto:maxwell AT ldc DOT upenn DOT edu]
Sent: 24 July 2002 17:03
To: cygwin AT cygwin DOT com
Subject: whereis whereis?
Back in the '80s (before some of you were born?), I used a Sun version of
unix. I now have Cygwin installed on my Windows PC (no flames), and I can't
find a utility that I used a lot: whereis. It exists on the Sun sitting
next to my PC, so I know I'm not just being senile.
'apropos' doesn't return anything for 'whereis' or 'where'. I did a Package
Search at the Cygwin website for 'whereis', and it only shows up in the
Z-Shell. I'm not using Z-Shell, and if I'm interpreting things correctly,
it's a built-in under that shell. I'm using bash, so that wouldn't help.
Nor does the FAQ seem to have anything.
I guess I could implement 'whereis' using 'find' in a shell script, but when
I tried running 'find / -name foobar' on the command line just now, it was
excruciatingly slow. (By comparison, a search beginning at the root of the
Cygwin dir using a Windows utility finished in well under a second.)
Surely 'whereis' hasn't just gone away?? Or is there a recommended
replacement?
--
Mike Maxwell
Linguistic Data Consortium
maxwell AT ldc DOT upenn DOT edu
--
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/
--
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/
- Raw text -