delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/11/16:49:47

From: Eric Christopher <echristo AT northpole DOT cygnus DOT com>
Subject: Re: cygwin b20 bash path usage?
11 Nov 1998 16:49:47 -0800 :
Message-ID: <od1zn9d9as.fsf@northpole.cygnus.com>
References: <8A24EC12044FD21195E200600895E0B3059484 DOT cygnus DOT gnu-win32 AT goat DOT channelpoint DOT com>
X-Newsreader: Gnus v5.4.52/XEmacs 20.2

vos AT channelpoint DOT com (Craig Vosburgh) writes:

> bash will use the PATH variable to determine the search order.  It
> sounds like you need to put . in your PATH variable first or execute the
> test command as ./test.  If you have any question which executable is
> being executed you can always use the type command to see what bash hash
> hashed for that name (e.g. type test should return the path to the test
> executable being executed)

'.' should always be put last in your path.  It is a horrible security hole
if you do otherwise.

-eric

- Raw text -


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