I have a general question about shell scripts and process tables across 2 different operating systems.
On a SuSE Linux system, I run a script called joe.sh. It is a simple script that does the following
echo "Hello Joe "
ps -ef | grep [j]oe.sh -
joe 15532 24267 0 09:40 pts/2 00:00:00 /bin/sh ./joe.sh
echo "Hello Joe"
I think what you are looking for is : interpreter-script
Anyway, the script should always have a shebang line. (I second John)