Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 14:19:16 +0100
From:      Florian Nigsch <flo@nigsch.com>
To:        Ali Nasseh <a_nasseh@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: help
Message-ID:  <20020222141916.A61931@nigsch.com>
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
References:  <20020222130232.25803.qmail@web10302.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <flo@nigsch.com>
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




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