delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/04:50:20

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
Subject: RE: How to execute bash file under /usr/bin despite setting PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"
MIME-Version: 1.0
Date: Wed, 3 Dec 2003 10:50:02 +0100
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC24F479@esmail.elsag.de>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg DOT Schaible AT Elsag-Solutions DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hB39oJBe011273

Hello Huh-Dung,

Nguyen, Huu-Dung wrote on Wednesday, December 03, 2003 10:43 AM:
> Please help me to understand Cygwin because i am an unexperienced
> user of CygWin 
> 
> I want to start some bash files or *.exe under /usr/bin so i
> have set in my profile file ...
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH" ...
> and put my bash files or *.exe under /usr/bin but i can not
> start them from anywhere in the Cygwin session.
> 
> Why and what can i do to start them from anywhere in the Cygwin
> session ? 

as explained before /usr/bin is a mount point to /bin and therefroe nothing physically located in /usr/bin will be found. This behaviour for mount point is *normal* in any Unix. This mount point is standard for Cygwin as explained in the FAQ:

http://cygwin.com/faq/faq_4.html#SEC61

Regards,
Jörg

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019