delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/17/19:22:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <rrschulz AT cris DOT com>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019