This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: How to execute bash file under /usr/bin despite setting PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"
- From: Jörg Schaible <Joerg dot Schaible at Elsag-Solutions dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 3 Dec 2003 10:50:02 +0100
- Subject: RE: How to execute bash file under /usr/bin despite setting PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"
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/