This is because the current directory(.) is not contained in the environment
variable--PATH. Append it in the profile file or try to run ./program <enter> .
buoyant
----- Original Message -----
From: "Del Campo, Damian" <[EMAIL PROTECTED]>
To: "'RedHat, DevList'" <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2000 7:17 AM
Subject: C compiled executalbe problem
> Have just started programming some C on RH6.1
>
> Compiling using "gcc - o program program.c".
>
> Problem is that from the directory this sits in, I can't actually operate
> the program
> ie program <Enter> doesnt' work whereas going up one directory level and
> calling "directory/program" does.
> Likewise, if I stay in the directory with the program and call it via
> "../directory/program" it works also.
>
> Why is this, that I can't call it directly from where it sits?
>
> It isn't a directory permissions/properties thing because I copied the
> program up a directory level and now couldn't call it directly from that
> directory and again had to call from "its" upper directory.
>
> Thanks in advance,
> Damian
>
>
>
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list