On Sun, 31 Oct 1999, you wrote:
> I am trying to learn how to do some C programming and my question is this: How
> do I execute the program after it is compiled?  I have tried typing the name
> of the program in at the prompt and it says "command not found".  I have tried
> to type "sh" before the filename and am told "cannot execute binary file".
> 
> Any help would be appreciated, also, what does the "sh" before a filename do?
> 
If you're in the directory with the executeable (make sure it's set
to executeable, otherwise, NOTHING you do is going to make it work
<G>) type ./<program> (that's "dot-slash" not just "slash" <G>)
        John

Reply via email to