Running a compiled Program

Just getting into the Unix command line programming and am unable to run any program I write. I am using a Makefile and the source is compiling but when I enter the name of the output file I get back:

bash: lab01exe.out: command not found

I'm sure I am just dooing something simple incorrectly so I thought I would post a thread to see if I could figure this out without going insane.

Thanks!
Arthur P. Krebsbach

Either the file "lab01exe.out" actually does
not exist or it cannot be found in your path.
Is the file present and executable when you
list the directory contents?

If not, check in your makefile, you should see
some sort of output file name from whatever compiler you are using.

If it is, try typing: ./lab01exe.out

If that works, you should modify your PATH
to include the current directory (hint: ".")
in it.

Thanks for the reply. "./" did it.

Arthur P. Krebsbach :smiley: