From owner-freebsd-questions Fri Dec 27 09:52:04 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA00532 for questions-outgoing; Fri, 27 Dec 1996 09:52:04 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id JAA00462 for ; Fri, 27 Dec 1996 09:51:46 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id SAA29152; Fri, 27 Dec 1996 18:51:43 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA04794; Fri, 27 Dec 1996 18:51:28 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id SAA14080; Fri, 27 Dec 1996 18:26:51 +0100 (MET) From: J Wunsch Message-Id: <199612271726.SAA14080@uriah.heep.sax.de> Subject: Re: How to run C programs on FreeBSD To: root@geo.geoaccess.net (root) Date: Fri, 27 Dec 1996 18:26:51 +0100 (MET) Cc: questions@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from root at "Dec 27, 96 08:51:08 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)