$ cat w.cmd
-bash: w.cmd: command not found
But then this happened on Solaris 10:
paul pts/2 Sep 22 20:20 (192.168.1.34)
Note the colon at the end of the PATH variable. I tested this in Solaris 10 and OpenSolaris, both in Korn and bash. Why does it allow execution from within the current directory ?
(This feature/bug does not work in Linux btw)