public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Can't find executable
@ 2012-10-01  5:55 Frank P Esposito
  2012-10-01  6:24 ` Mark Geisert
  0 siblings, 1 reply; 2+ messages in thread
From: Frank P Esposito @ 2012-10-01  5:55 UTC (permalink / raw)
  To: cygwin

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?

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can't find executable
  2012-10-01  5:55 Can't find executable Frank P Esposito
@ 2012-10-01  6:24 ` Mark Geisert
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Geisert @ 2012-10-01  6:24 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-01  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-01  5:55 Can't find executable Frank P Esposito
2012-10-01  6:24 ` Mark Geisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).