X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Mark Geisert Subject: Re: Can't find executable Date: Mon, 1 Oct 2012 06:24:27 +0000 (UTC) Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Frank P Esposito writes: > Hello -- I am not sure where to start, but I have a bash shell script > in bin directory, which is a sub-dir of home > > I have a shell script in it call see > > I type > > which see > > and I get the location of the the file > > I then type see > > and get an error message it could not be read or its missing -- I > there someway to trace this? This is not Cygwin-specific. In general, if you're in the directory where the script/program/whatever foo is, tell bash ./foo to run it. If it's in a different directory, prefix the name of the thing with the path to get to it from wherever you are in the directory tree. I'm pretty sure if you typed exactly what 'which' output, it would work. If not, please show us what it output and what you're typing. ..mark -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple