From owner-freebsd-questions Fri Feb 27 11:57:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA17338 for freebsd-questions-outgoing; Fri, 27 Feb 1998 11:57:14 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from keywest.ird.rl.af.mil (KEYWEST.IRD.RL.AF.MIL [128.132.193.224]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA17315 for ; Fri, 27 Feb 1998 11:56:46 -0800 (PST) (envelope-from goeringerm@keywest.ird.rl.af.mil) Received: by keywest.ird.rl.af.mil with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52) id <01BD4391.0D5057D0@keywest.ird.rl.af.mil>; Fri, 27 Feb 1998 15:04:50 -0500 Message-ID: From: "Goeringer, Michael" To: "'T. Peterson'" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: lost Date: Fri, 27 Feb 1998 15:04:49 -0500 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG type "./a.out" If the the directory is not in your path always use "./" Michael G. ________________________ >---------- >From: T. Peterson[SMTP:pap@quik13.com] >Sent: Friday, February 27, 1998 2:53 PM >To: freebsd-questions@FreeBSD.ORG >Subject: lost > >I've recently purchased FreeBSD on CD-ROM. So far I love how easy it >was to install for a rookie like myself. I now have one question which >may be compiled by many later. > >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? > >All help appreciated. >Thanks. > >Not so UNIX intelligent, >Todd Peterson > > > >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