Try running "./a.out"(minus quotes). If that works than "." isn't in your
path. It can be added with the command:
export PATH=$PATH:.
You should put that in .profile or some other script that will run
whenever you login if you don't want to type it everytime you login.
Jeff
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.
>
_________________________________________
| [EMAIL PROTECTED] |
| pgp mail is welcome |
| pgpkey: finger:[EMAIL PROTECTED] |
|_______________________________________|