Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 16 Nov 2001 14:39:28 +0000 Message-ID: <7800-Fri16Nov2001143928+0000-starksb@ebi.ac.uk> X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I); VM 6.92 under Emacs 20.7.1 From: David Starks-Browning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: JROZYCKI AT ebmail DOT gdeb DOT com CC: cygwin AT cygwin DOT com Subject: Re: script-name won't execute but script-name.py will In-Reply-To: <85256B06.004FB339.00@groton5.notes.gdeb.com> References: <85256B06 DOT 004FB339 DOT 00 AT groton5 DOT notes DOT gdeb DOT com> On Friday 16 Nov 01, JROZYCKI AT ebmail DOT gdeb DOT com writes: > Pavel, > We are on NT 4.0. I believe I have proper permissions because I can run the > script when I tack on the script's extension, such as pl or awk. The response > is "command not found", not permission denied... Here is some output: > > bin $ pwd > /home/jrozycki/bin > bin $ ll > total 51 > drwxr-xr-x 5 jrozycki users 4096 Nov 15 19:09 ./ > drwxr-xr-x 10 jrozycki users 8192 Nov 15 15:55 ../ > -rwxr-xr-x 1 jrozycki users 735 Nov 15 14:41 maxcom.py* > > bin $ maxcom > bash: maxcom: command not found It sounds like bash cannot locate the interpreter -- the thing in the line #! /path/to/interpreter But you don't tell us what you have there so it is hard to say anything more. The relevant FAQ entry is "Why doesn't my shell script work?". Regards, David -- 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/