<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="Open WebMail 2.30 20040103" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Hi,
<br />why shouldn't current working directory be in the PATH??
<br />
<br />Narendra
<br /><font size="2"><b>
<br />On Tue, 27 Feb 2007 10:43:17 +0100, Johan Lithander wrote</b>
<br />> <span class="786354009-27022007"><font size="2" face="Arial" color="#0000ff">You most likely tried to run it as a.out instead of
./a.out</font></span>
<br />> <span class="786354009-27022007"><font size="2" face="Arial" color="#0000ff">The current working directory is usually not in the PATH
(and shouldn't be in the PATH either
!!!).</font></span>
<br />> <span class="786354009-27022007"></span>
<br />> <span class="786354009-27022007"><font size="2" face="Arial" color="#0000ff">/J</font></span>
<br />> <span class="786354009-27022007"></span>
<br />>
<br />>
<hr tabindex="-1" />
<font size="2" face="Tahoma"><b>From:</b> redhat-install-list-bounces@redhat.com
[mailto:redhat-install-list-bounces@redhat.com] <b>On Behalf Of </b>Nofriyadi
Nurdam
<br />> <b>Sent:</b> den 27 februari 2007 10:39
<br />> <b>To:</b>
redhat-install-list@redhat.com
<br />> <b>Subject:</b> how to execute an
excutable
file
<br />> </font>
<br />>
<br />> Hi all,
<br />>
<br />> I have compiled
the program "HelloWorld.c".
<br />> The C
compiler gave me the executable file a.out as output.
<br />> As I executed the
a.out
in console, I got answer "command not found".
<br />> Is there someone who can
tell
me about that.
<br />>
<br />> Thanks in advance
<br />> Nofriyadi
<br />>
<br />>
<hr size="1" />
We won't tell. Get more on <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265">shows
you hate to love</a>
<br />> (and love to hate): <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265">Yahoo!
TV's Guilty Pleasures
list.</a>
<br />
<br />
<br />Narendra Kumar
<br />
PhD Scholar
<br />
Bioinformatics Center
<br />
National Institute of Immunology
<br />
Aruna Asaf Ali Marg
<br />
New Delhi-110067
<br />
Telephone Numbers (EPABX): 26717121 to 26717145
<br />
Fax : 91-11-26162125 & 91-11-26177626
<br />
<br />
</font>
</BODY>
</HTML>