![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Bad Interpretor
I have installed cygwin in my windows machine. when i ran the sample script it was throwing the following error.
bash: sample.sh: /usr/bin/bash: bad interpreter: No such file or directory Till yesterday it was working fine. I dont know all of a sudden what happend. i used to run my script by simply typing the script name. Now it is working only if I type sh <script name>. What went wrong? i have added C:\cygwin\bin to path variable. Any help is appreciated. Thanks in advance. sample.sh #!/usr/bin/bash echo "Hello world' output of which bash: /bin/bash |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|