how to execute an excutable file

narendra narendra at nii.res.in
Tue Feb 27 10:11:55 UTC 2007


Hi,
why shouldn't  current working directory be in the PATH??

Narendra

On Tue, 27 Feb 2007 10:43:17 +0100, Johan Lithander wrote
> You most likely tried to run it as a.out instead of./a.out
> The current working directory is usually not in the PATH(and shouldn't be in the PATH either!!!).
>  
> /J
>  
>
>
-----------------------------------------------------------------------
From: redhat-install-list-bounces at redhat.com[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of NofriyadiNurdam
> Sent: den 27 februari 2007 10:39
> To:redhat-install-list at redhat.com
> Subject: how to execute anexcutablefile
> 
>
> Hi all,
>
> I have compiledthe program "HelloWorld.c".
> The Ccompiler gave me the executable file a.out as output.
> As I executed thea.outin console, I got answer "command not found".
> Is there someone who cantellme about that.
>
> Thanks in advance
> Nofriyadi
>
>
-----------------------------------------------------------------------
We won't tell. Get more on showsyou hate to love
> (and love to hate): Yahoo!TV's Guilty Pleasureslist.

Narendra Kumar
PhD Scholar
Bioinformatics Center
National Institute of Immunology
Aruna Asaf Ali Marg
New Delhi-110067
Telephone Numbers (EPABX):  26717121 to 26717145
Fax : 91-11-26162125 & 91-11-26177626


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20070227/f90aab3f/attachment.htm>


More information about the Redhat-install-list mailing list