From owner-freebsd-questions Fri Dec 27 13:46:47 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA10112 for questions-outgoing; Fri, 27 Dec 1996 13:46:47 -0800 (PST) Received: from xmission.xmission.com (softweyr@xmission.xmission.com [198.60.22.2]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id NAA10107 for ; Fri, 27 Dec 1996 13:46:45 -0800 (PST) Received: (from softweyr@localhost) by xmission.xmission.com (8.8.4/8.7.5) id OAA16911 for questions@freebsd.org; Fri, 27 Dec 1996 14:46:38 -0700 (MST) From: Softweyr LLC Message-Id: <199612272146.OAA16911@xmission.xmission.com> Subject: Mail bounced! To: questions@freebsd.org Date: Fri, 27 Dec 1996 14:46:37 -0700 (MST) X-Mailer: ELM [version 2.4 PL25] 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 I tried responding directly to this, but mail to geo.geoaccess.net choked. > 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" Try ./hello. You do not have "." in your path, so the shell can't find the hello program. UNIX shells do not *assume* . like MS-DOG does; this feature is a horrible security violation. If you're still logging in as root for everyday work, don't. Create an account for yourself and use *it* for everything that doesn't require root access. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com