Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: "Mike Maxwell" Newsgroups: gmane.os.cygwin Subject: whereis whereis? Date: Wed, 24 Jul 2002 12:03:26 -0400 Lines: 25 Message-ID: NNTP-Posting-Host: palikir.ldc.upenn.edu X-Trace: main.gmane.org 1027526588 4966 158.130.16.231 (24 Jul 2002 16:03:08 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Wed, 24 Jul 2002 16:03:08 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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/