Date: Fri, 27 Feb 1998 12:37:46 -0800 (PST) From: Brian Beattie <Brian_Beattie@Atlas.com> To: "T. Peterson" <pap@quik13.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lost Message-ID: <Pine.BSF.3.96.980227123627.18916C-100000@coyote.prepaid.atlas.com> In-Reply-To: <34F719CE.BAE517E1@quik13.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Feb 1998, T. Peterson wrote: > > I'm trying to run an a.out file compiled by the g++ compiler. As in the > book on page 151, "I'm in the directory and can see the file", but when > I try to run it I get "a.out: not found". I'm using the > Bourne-shell. I've looked at the path statement and I'm working in a > sub-directory beneath my home directory. The sub-dir is not in the path > statement, but the home directory is. I was able to compile the file > find, obviously, but now how do I run the thing? > It sounds like the current working directory is not in your path, try "./a.out" to execute the file. Brian Beattie Atlas PrePaid Services Brian_Beattie@atlas.com 503.228.1400x4355 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.3.96.980227123627.18916C-100000>