delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/31/10:04:30

From: dmeans AT bellsouth DOT net (David Means)
Subject: Re: Bash Question.
31 Jul 1997 10:04:30 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33E0BF96.CED93AB1.cygnus.gnu-win32@bellsouth.net>
References: <970730203415_277932329 AT emout02 DOT mail DOT aol DOT com>
Reply-To: dmeans AT bellsouth DOT net
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (Win95; U)
Original-To: Bardley09 AT aol DOT com
Original-CC: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Bardley09 AT aol DOT 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 AT cygnus DOT 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 AT bellsouth DOT net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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