Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!bloom-beacon!apple!bionet!agate!helios.ee.lbl.gov!nosc!ucsd!ucsdhub!hp-sdd!hplabs!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.unix.questions Subject: Re: Re: ????? HELP!!! what is wrong with this code? ??????? Message-ID: <14660004@hpsal2.HP.COM> Date: 13 Oct 88 19:07:40 GMT Article-I.D.: hpsal2.14660004 References: <8271@alice.UUCP> Organization: HP System Architecture Lab, Cupertino Lines: 9 / hpsal2:comp.unix.questions / steve@micropen (Steven J. Owens) / 2:12 pm Oct 12, 1988 / I always thought UNIX checked in the directory you are in first for the binary, then if it couldn't find it there, it checked the $PATH. ---------- Absolutely not!!! The algorithm is a function of the shell, but all shells I know of use $PATH only. If "." is not in $PATH, then commands in the current directory must be executed using "./foo" or something similar.