From owner-freebsd-questions Wed Nov 8 22: 6:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from echoriath.hiddenrock.com (24-130-184-154.san.rr.com [24.130.184.154]) by hub.freebsd.org (Postfix) with SMTP id 3BB6037B4D7 for ; Wed, 8 Nov 2000 22:06:37 -0800 (PST) Received: (qmail 28481 invoked by uid 1001); 9 Nov 2000 06:08:42 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Nov 2000 06:08:42 -0000 Date: Wed, 8 Nov 2000 22:08:42 -0800 (PST) From: Peter Johnson To: Duy Luong Cc: freebsd-questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <20001109053156.27386.qmail@web4702.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try "./a.out". The problem is that the current directory (denoted in the file structure by ".") is not in your path, which means that you have to specifically denote the current directory using "./" before a.out. You can add "." to your path by changing your shell rc file to include the line PATH=$PATH:. Enjoy. Pete On Wed, 8 Nov 2000, Duy Luong wrote: > Hi. I got a problem. After finishing installation > Freebsd 4.1.1 and some packages including devel etc, I > could not run the a.out file after I compiled the c++ > file. The message is a.out command not found, even > the a.out file is existed. Tell me how to solve this > problem. Thanks you. > > Duy > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message