Date: Wed, 18 Nov 1998 15:36:56 +1300 (NZDT) From: Jonathan Chen <jonc@pinnacle.co.nz> To: G578@ix.netcom.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: C executables Message-ID: <Pine.SCO.3.96.981118153445.10781A-100000@kiwi.pinnacle.co.nz> In-Reply-To: <365231AD.3657@ix.netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Nov 1998 G578@ix.netcom.com wrote:
> You
> compile, you don't specify an object module name, it defaults to
> "a.out", then you type "a.out" and, Voila, Hello World! Why am I
> getting Voila, Not Found?
By default, your executable search-path doesn't include the current
directory. You'll be able to run your program with:
./a.out
If you want to include the current directory, you'll have to modify
your startup script for your shell (.login/.profile/.bashrc/etc) to
include the current directory for PATH
--
Jonathan Chen
----------------------------------------------------------------------
The human mind ordinarily operates at only ten percent of its capacity
-- the rest is overhead for the operating system.
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.SCO.3.96.981118153445.10781A-100000>
