| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <456F6927.1040501@cygwin.com> |
| Date: | Thu, 30 Nov 2006 18:28:39 -0500 |
| From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061108 Fedora/1.5.0.8-1.fc4.remi Thunderbird/1.5.0.8 Mnenhy/0.7.4.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Help running bash scripts |
| References: | <001301c70df6$77e7e2f0$0a00a8c0 AT s3000p> <023001c70e31$8ac178b0$a501a8c0 AT CAM DOT ARTIMI DOT COM> <loom DOT 20061130T190406-499 AT post DOT gmane DOT org> |
| In-Reply-To: | <loom.20061130T190406-499@post.gmane.org> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Amar wrote:
> Dave Korn <dave.korn <at> artimi.com> writes:
>
>> On 22 November 2006 05:24, David Christensen wrote:
>>
>>> Thierry wrote:
>>>> running a simple sh script(test.sh):
>>>> #!/bin/sh
>>>> # test
>>>> $ ./test.sh
>>>>> command not found
>>> Get this book:
>>>
>>> http://www.oreilly.com/catalog/bash3/index.html
>>>
>>>
>>> "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" != "test.sh". 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.
>>
>> cheers,
>> DaveK
>
>
> 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: http://cygwin.com/problems.html
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |