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 Message-Id: <5.1.0.14.2.20021117161546.00fd6b08@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Sun, 17 Nov 2002 16:22:05 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: No such file, but it's right there In-Reply-To: <3DD82D5A.6060306@doe.carleton.ca> References: <1037497099 DOT 24907 DOT ezmlm AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Fred, Cygwin follows the Windows convention of using file file name suffix ".exe" for its binary executable files. While Cygwin will locate and execute files files given only the base name (sans suffix), other uses ("cat," "less," or more apropos "nm," "size" or "file") demand the full file name, including the ".exe" suffix. Randall Schulz Mountain View, CA USA At 15:59 2002-11-17, Shing-Fat Fred Ma wrote: >Hi, > >... > >When I try to "ls" a file I know to be >there, I'm told it isn't: > > $ which ftp telnet > > /usr/bin/ftp > /usr/bin/telnet > > $ cd /usr/bin > $ ls -l ftp telnet > > -rwxr-xr-x 1 unknown unknown 57344 Jan 6 2002 ftp* > -rwxr-xr-x 1 unknown unknown 79360 Jan 6 2002 telnet* > > $ less ftp telnet > > ftp: No such file or directory > telnet: No such file or directory > >I don't really want to less a binary file, >just see whether the file's presence >is recognized. I wouldn't think it's a >mount problem, but here's the mount >information: > >... > >Thanks if you have any suggestions. > >Fred -- 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/