Re: executing my programs

Shawn Bayern (shawn.bayern@yale.edu)
Wed, 13 Jan 1999 23:09:42 -0500 (EST)

On Wed, 13 Jan 1999, Sasha Oblak wrote:

> Hello,
>
> I am trying to do my homework for cs422, but I am running into a weird
> problem. I am unable to execute any program or executable that I create.
> It is able to compile my c program, but it won't execute it. The same for
> my scripts. It just says,
> "bash: 'program name': command not found." My permissions are correct.

Argh... yes, this is expected.

By default (based on instructions WSS gave me), the current directory (.)
is not in the default path on the Zoo. This means, for now, that you'll
need to run programs in the current directory as

./filename

(or, in some other way, refer to the path of the file; ./filename is
easiest).

I argued for "." in the path but was shot down. :) However, I think the
policy will be reconsidered soon based on requests from faculty.

Shawn