[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Why can't I run my program



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
 
HUH?  I know there is a simple explaination for this, but I can't seem to find it.  I do a ls -l to check rights and everthing seems o.k.  The file also appears to be an executable.  I've even tried to run it as the supervsr (su) as well but no dice. Any ideas?
 
-Wxb1
 
 

Reply to: