delorie.com/archives/browse.cgi | search |
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 <mark AT maxrnd DOT com> |
Subject: | Re: Can't find executable |
Date: | Mon, 1 Oct 2012 06:24:27 +0000 (UTC) |
Lines: | 26 |
Message-ID: | <loom.20121001T081821-266@post.gmane.org> |
References: | <CAFqEa-CN3OGeS7yyGoZR_NzoZpGL0Muasa4ABQa7y7OSvfXJJQ AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
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: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |