Date: Wed, 8 Nov 2000 22:08:42 -0800 (PST) From: Peter Johnson <tam@hiddenrock.com> To: Duy Luong <luon0006@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: your mail Message-ID: <Pine.BSF.4.21.0011082206530.28472-100000@hiddenrock.com> In-Reply-To: <20001109053156.27386.qmail@web4702.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011082206530.28472-100000>