From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23321 invoked by alias); 16 Nov 2001 14:39:36 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 23291 invoked from network); 16 Nov 2001 14:39:32 -0000 Received: from unknown (HELO alpha1.ebi.ac.uk) (193.62.196.122) by sourceware.cygnus.com with SMTP; 16 Nov 2001 14:39:32 -0000 Received: from BRYCE.ebi.ac.uk (bryce.dhcp.ebi.ac.uk [193.62.198.162]) by alpha1.ebi.ac.uk (8.9.3/8.9.3) with ESMTP id OAA409475; Fri, 16 Nov 2001 14:39:28 GMT Date: Sun, 11 Nov 2001 08:26:00 -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@ebmail.gdeb.com CC: cygwin@cygwin.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.004FB339.00@groton5.notes.gdeb.com> X-SW-Source: 2001-11/txt/msg00432.txt.bz2 On Friday 16 Nov 01, JROZYCKI@ebmail.gdeb.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/