| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <076e01c21059$1cfd6ee0$0200a8c0@weiss> |
| From: | "Steven Weiss" <sweiss AT iafrica DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | running shell scripts |
| Date: | Mon, 10 Jun 2002 10:30:32 +0200 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
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 AT iafrica DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |