Re: Why can't I run my program
hi ya
> 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
try:
cd "what ever directory you have hello.c in"
./hello
if you cannot invoke commands you know exists...check $PATH...
some like having . in the pathname, others don't...
(if you insist on having . in the path, it should be last )
have fun
alvin
Reply to: