Its probably because the executable is sitting in your home directory and
that directory is not in the PATH environment variable, hence it is not
being found; try ./a.out

-- 
Howard.
____________________________________________________
LANNet Computing Associates <http://lannetlinux.com>
"...well, it worked before _you_ touched it!"   --me
"I trust just one person,
 and there are times when I don't even trust myself"
                                                --me

On Fri, 2 Jan 1998, brad payton wrote:

> this is gonna sound silly but here goes...
> haven a prob with running a.out..
> I can compile O.K but when try and run it
> it ,red hat sez"bash: a.out: command not found"
> have tryed it in a diferent directorys other than /home ,no go!
> have tryed a.out under root still same error.
>
> using RedHat Re 5.2 kernel 2.0.36
> Whats the story a.out is a executable is it not ?
> 1st program ever written in C ,stuff helo world.will change too
> "Good Bye Cruel World"My missus is easyer to understand than Linux!
> any how thanks ppl.
>


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to