Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 1996 18:26:51 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        root@geo.geoaccess.net (root)
Cc:        questions@freebsd.org
Subject:   Re: How to run C programs on FreeBSD
Message-ID:  <199612271726.SAA14080@uriah.heep.sax.de>
In-Reply-To: <Pine.LNX.3.93.961227083917.1127A-100000@geo.geoaccess.net> from root at "Dec 27, 96 08:51:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As root wrote:
   ^^^^
Somebody with that little experience in Unix matters should definately
avoid working as root for `daily stuff'!

> After editing  hello.c and I compile it as as:
> 	gcc -o hello hello.c
> 	hello
> 
> It supposed to print:
> Hello World!
> 
> However, the system responded:
> 	"Command not found"

./hello

Better get a basic Unix book...  And no, please _don't_ add the current
directory to your $PATH variable.  We've been there before.

(Moved to freebsd-questions, where this belongs to.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612271726.SAA14080>