Why won't my .sh file work with cygwin?

Thorsten Kampe thorsten@thorstenkampe.de
Wed Jul 4 10:04:00 GMT 2012

* Gundament (Tue, 3 Jul 2012 22:38:36 -0700 (PDT))
> I am new to Cygwin but I understand it does it's best to simulate a
> linux terminal.

No. "Cygwin is: a collection of tools which provide a Linux look and 
feel environment for Windows." http://cygwin.com/
> I want to make a little program and I have written out the entire code and
> saved it as a ".sh" file.
> I have paired my Windows computer to open .sh files with Cygwin's mintty.exe
> (terminal)

You are confusing a terminal (like Mintty) with a shell (like bash).


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

More information about the Cygwin mailing list