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

Re: Why can't I run my program



>----- Original Message -----
>From: Wendell Buckner
>To: Debian Users Group
>Sent: Monday, September 06, 1999 6:13 AM
>Subject: 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

Are you sure you have typed ./hello to run it??

Hope this helps,
Stephan Hachinger


Reply to: