How to execute bash file under /usr/bin despite setting PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"
Jörg Schaible
Joerg.Schaible@Elsag-Solutions.com
Wed Dec 3 09:50:00 GMT 2003
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/
More information about the Cygwin
mailing list