Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 15:04:49 -0500
From:      "Goeringer, Michael" <goeringerm@keywest.ird.rl.af.mil>
To:        "'T. Peterson'" <pap@quik13.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: lost
Message-ID:  <c=US%a=_%p=Rome?Lab%l=KEYWEST-980227200449Z-325@keywest.ird.rl.af.mil>

next in thread | raw e-mail | index | archive | help
type "./a.out"  If the the directory is not in your path always use
"./<command>"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=Rome?Lab%l=KEYWEST-980227200449Z-325>