*BSD News Article 54499


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!sgigate.sgi.com!wetware!wsrcc.com!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: 12 Nov 1995 01:19:55 -0800
Organization: dns and bind.
Lines: 13
Sender: nawaz921@waldrog.cs.uidaho.edu
Distribution: world
Message-ID: <imenveyytg.fsf@waldrog.cs.uidaho.edu>
References: <480g7u$t2e@news.csus.edu>
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: wleong@sfsu.edu's message of 10 Nov 1995 21:29:34 GMT
X-Newsreader: Gnus v5.0.9

In article <480g7u$t2e@news.csus.edu> wleong@sfsu.edu (WEE-KING LEONG) writes:

$ Hi,
$     I got the freeBSD up but I have a problem in getting something
$ to work. I have written a simple program and it compile nicely with
$ gcc. But when I tried to run it, I got error saying "command not
$ found" Any idea what went wrong?

is the `.' in your path?  it probably isn't.  try ``./program''.


if you do decide to put the dot in your path, please, please, please put it
at the _end_.  anywhere else would be bad, security-wise.