A few issues:
1. to run a script in language lng, say script.lng,
you have to type at the prompt
2. The above assumes that the script is in the current directory and
that the current directory is in the PATH. It is better to say
3. test is a shell built-in; so typing
will run that ALWAYS.
PS: It <is> a bad idea to have the current directory in PATH
C was designed by Dennis Ritchie on the assumption
that programmers were like Dennis Ritchie.
Java appears to have been designed on the theory
that programmers are more like Dennis the Menace.