*BSD News Article 55067


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech2!news.sprintlink.net!newsfeed.internetmci.com!swrinde!sgigate.sgi.com!sdd.hp.com!hp-pcd!hp-cv!reuter.cse.ogi.edu!news.willamette.edu!news.orst.edu!news.uidaho.edu!usenet
From: Faried Nawaz <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: compiled program won't run.
Date: 14 Nov 1995 20:10:46 -0800
Organization: People's Front Against WWW
Lines: 14
Sender: nawaz921@waldrog.cs.uidaho.edu
Distribution: world
Message-ID: <imwx92msah.fsf@waldrog.cs.uidaho.edu>
References: <480g7u$t2e@news.csus.edu> <816083974snz@beckley.demon.co.uk>
Reply-To: fn@uidaho.edu
NNTP-Posting-Host: waldrog.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-reply-to: Ian W Taylor's message of Sat, 11 Nov 95 09:59:34 GMT
X-Newsreader: Gnus v5.0.9

In article <816083974snz@beckley.demon.co.uk> Ian W Taylor <iwta@beckley.demon.co.uk> writes:

$ If you have compiled your program and produced an executable in
$ your current directory you will probably find that your current
$ directory is not in the PATH environmental variable.
$ 
$ So set 
$     PATH=.:$PATH

no, do

      PATH=$PATH:.

you really don't want the `.' first in your path; see J's example.