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/