On Fri, 02 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.


You will probably need the chmod the file to be executable.

$ chmod a+x a.out
$ ./a.out

Cheers,

Benno

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

Reply via email to