Try typing ./a.out in the directory...actually, better yet....when
you compile the program use this command syntax....
gcc -o <binary name> -l<library> --other options...
then just excute the executable with
[username] $ ./<binary name>
simple enough?
-Regards
Peeyush Singh
On Sun, 2 Aug 1998, Anukool Lakhina wrote:
> Hello all.
>
> After compiling a simple program in C (using gcc), I can't run my a.out. The
> error message I get is "a.out: Command not found." But ls tells me that
> a.out is there! (and it's permission settings are ok) This is really stupid
> (and annoying).What am I doing wrong? Pls help. Thanks.
>
>
>
> anukool.
>