From owner-freebsd-questions Fri Feb 22 5:19:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ulixes.esc.ac.at (ulixes.esc.ac.at [193.170.216.34]) by hub.freebsd.org (Postfix) with ESMTP id 01CF137B405 for ; Fri, 22 Feb 2002 05:19:19 -0800 (PST) Received: from ulixes.esc.ac.at (localhost.esc.ac.at [127.0.0.1]) by ulixes.esc.ac.at (8.12.2/8.12.2) with ESMTP id g1MDJHHr061969; Fri, 22 Feb 2002 14:19:17 +0100 (CET) (envelope-from flo@ulixes.esc.ac.at) Received: (from flo@localhost) by ulixes.esc.ac.at (8.12.2/8.12.2/Submit) id g1MDJGoe061968; Fri, 22 Feb 2002 14:19:16 +0100 (CET) (envelope-from flo) Date: Fri, 22 Feb 2002 14:19:16 +0100 From: Florian Nigsch To: Ali Nasseh , freebsd-questions@freebsd.org Subject: Re: help Message-ID: <20020222141916.A61931@nigsch.com> References: <20020222130232.25803.qmail@web10302.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020222130232.25803.qmail@web10302.mail.yahoo.com>; from a_nasseh@yahoo.com on Fri, Feb 22, 2002 at 05:02:32AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Feb 22, 2002 at 05:02:32AM -0800, Ali Nasseh wrote: > hi, > when i mount my cdrom with this command, > # mount -vt cd9660 /dev/acd0c /cdrom > i get "I/O error", after i hear the cdrom rotation. don't know what's that... > too, i can't execute my c program. after i > successfully compile it with cc command like this: > # cc hello.c > i can see the a.out file in my directory, but when i > type: > # a.out > the system says "command not found". > please tell me what is wrong with those. you probably don't have . (the current directory in your PATH environment variable. check this by echo $PATH you can add . (current dir) to your path, or simply type ./a.aout everytime you want to execute a prog from the current path. -- --- Florian Nigsch http://flo.nigsch.com/ PGP key: http://flo.nigsch.com/fnigsch.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message