*BSD News Article 59591


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!ihnp4.ucsd.edu!agate!reason.cdrom.com!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with g++ compiled program output
Date: Sat, 20 Jan 1996 15:43:17 -0800
Organization: Walnut Creek CDROM
Lines: 15
Message-ID: <31017E15.41C67EA6@FreeBSD.org>
References: <17JAN199620510552@rosie.uh.edu>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b6a (X11; I; FreeBSD 2.1-STABLE i386)
To: "Man, Tony T" <ttm58327@rosie.uh.edu>

Man, Tony T wrote:
> I have the source compiled and the generic program a.out is generated.
> I rename a.out to test.

A common new user error.  You're now running /bin/test.  Try ./test to
run your version instead.

> 2) when I recompile the program and name it test2 and then type test2
> at the prompt sign, I receive a error message "Command not found" on the
> screen.

./test2
-- 
	- Jordan Hubbard
	  President, FreeBSD Project