This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help running bash scripts

Amar wrote:
Dave Korn <dave.korn <at>> writes:

On 22 November 2006 05:24, David Christensen wrote:

Thierry wrote:
running a simple sh script(
# test
$ ./
command not found
Get this book:

"test" is a Bash built-in command ("man bash"; see CONDITIONAL EXPRESSIONS). Avoid using that keyword in Bash scripts and anywhere else Bash might trip over it (such as script and program names).
  "test" != "".  No confusion is at all possible.  Bash is not DOS and
does not attempt to append .exe/.com/.bat extensions to every command filename
entered, and nor does it try appending .sh either.


Hi, I have little bit different problem. I install cygwin with bash and when i
try to run so,simple unix command and it says command bot found. It doesn't know
commands like ls, man, sh, gcc etc.. so can anyone tell me what is the problem??
I install all the packages.

Please read and follow the problem reporting guidelines found here:

Problem reports:

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]