Command not found error!

Hello everyone,

I am using Linux and tcsh shell. I am trying to run a free open source program( which is in the form of a binary file), but every time I run it it gives me an error saying:

newhtsg_v1.0:Command not found.

I have set permission also for the same.
What else can I do to make it run?

Thanks!

Hi.

Is the directory where the program is in your PATH?

If not, you can add it, or you can do any of the following:

tcsh newhtsg_v1.0             # if the program is in your current directory
./newhtsg_v1.0                # if the program is in your current directory
/path/to/program/newhtsg_v1.0

Thanks scottn!

It worked when I used the program with "./".
However, when I typed

tcsh newhtsg_v1.0

it gave me the following error:

^^^A^E@@\262\213^Z\262\213^Z: Event not found.

Can you tell me what is it about (as it seems like its taking some garbage value)?

I can't, really. It's the c-shell. It mostly talks garbage :smiley:

./ is often the preferred method. I'd use that.

:slight_smile:
Thanks anyway!!!