How to execute bash file under /usr/bin despite setting PATH="/us r/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH"
Ronald Landheer-Cieslak
blytkerchan@users.sourceforge.net
Wed Dec 3 10:54:00 GMT 2003
On Wed, Dec 03, 2003 at 10:43:23AM +0100, Nguyen, Huu-Dung wrote:
> 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.
Did you perchange put your files in c:\cygwin\usr\bin ? (assuming you installed
in c:\cygwin)
If so, you should know that the c:\cygwin\bin directory is mounted to /usr/bin,
which makes the contents of c:\cygwin\usr\bin invisible from within the Cygwin
environment. This is by design. Move the files to c:\cygwin\bin and you should
be OK.
Note that in all this, I assume you've installed Cygwin's root in c:\cygwin. If
it's in q:\tralala (which is possible, of course) replace every instance of
c:\cygwin above with q:\tralala.
> Why and what can i do to start them from anywhere in the Cygwin session ?
If the above doesn't help, look at http://cygwin.com/problems.html to know
how to give us more information about you problem :)
HTH
rlc
--
Fraud is the homage that force pays to reason.
-- Charles Curtis, "A Commonplace Book"
--
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