This is the mail archive of the cygwin@cygwin.com 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]

running shell scripts


Hi

/Develop/test/bin> chmod 755 work
/Develop/test/bin> ls -l work
-rwxr-xr-x    1 dbadmin Administ       27 Jun  9 20:18 work
/Develop/test/bin> ./work
bash: ./work: No such file or directory

I am trying to running a shell script from an interactive bash session. I
get the following error when running the shell script. It seems to work when
I put the #! /cygwin/bin/bash inside the script. Surely the script should
run with the execute permissions set as they are.

Regards
Steven
----------------------------------------
sweiss@iafrica.com
+27 21 7892985 (h)
+27 827715157 (m)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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