This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bash Question.


Bardley09@aol.com wrote:
> 
> This is probably elementary...but.  Bash doesn't recognize the current
> directory (i.e. pwd) and won't execute commands there unless it's
> in the path.  There must be a way to make it do that.  I confess I
> have not
> yet scoured the mail archives on this matter.
> 
> Brad
> 
> -
> For help on using this list (especially unsubscribing), send a message
> to
> "gnu-win32-request@cygnus.com" with one line of text: "help".

Wei Ku answered your question, but here's my 2 cents worth:

It works like unix.  Unless you have a "." in your path, you have to
execute files in the current dir like this:

./runthis

If the file is hidden (i.e., .login; .profile) then you do this:

./.profile
./.login


-- 

David Means
mailto:dmeans@bellsouth.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]