Re: Why can't I run my program
On Sun, Sep 05, 1999 at 09:13:00PM -0700, Wendell Buckner wrote:
> I was playing around with GNU C before I getting ready to load GNU C++, and decided to write a simple c program (The standard hello world app). I was doing this to make sure that GNU C was working properly. I compiled the application as follows:
>
> gcc -v hello.c -o hello
>
> I thought this would be a simple process but it seems I am missing something trivial. I attempt to run the program after compiling and bash says:
>
> bash :hello :command not found
Run is like:
./hello
"." is not in your path, so you have to be specific with the command.
Ben
Reply to: