./a.out maybe? To be sure you try to run it from the current
directory. I think your PATH environment varianle doesn't contains
the "." (current) directory...

Szekely-Benczedi Endre
-sysadmin
"Petru Maior" University
Targu Mures, Romania

On Wed, 26 Jun 2002, Sridhar J (june end) wrote:

> Hello
> 
> When I compile a C program using gcc, I get an a.out file. But when I type
> a.out, the error is "No such command"
> 
> How do I execute the file?
> 
> Regards
> Sridhar
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to